szita2000
Board Regular
- Joined
- Apr 25, 2012
- Messages
- 101
- Office Version
- 365
- Platform
- Windows
Hi guys.
I came across something peculiar.
I made this formula for a conditional formula as I always did. (To the side of the table I create the "will be" conditional formula in a cell)
It was evaluating correctly in the worksheet cell.
Then when I went and copied in the formula for the conditional formula it throws an error.
It is weird because the formula evaluates in a cell as intended. Maybe the LET function is not liked by the conditional formula engine?
The formula:
Quick explanation for what I am trying to achieve:
On the left there is a table with weeks, above it numbers for each week. 7 belongs to July, 8 to Aug and so on. Row2. - In this table we will have weekly team scores.
To the right there is a table with the glidepath (target) for each month. Table with month numbers above in row 2. - In this table we want to set the targets where a conditional formula will go green or red.
Between the two tables there are two columns one for make the result Red on the left hand side and one for Green. (BU:BV)
This columns holding the logical operators that the managers can set up. So the team results (left table) will color based on the glidepath table (right hand)
Something like this. The two helper column for the formula to work out then copy in the conditional formatting is BW6 and BX6.
Anyone have any idea what is wrong with my formula for the conditional formatting?
Thanks
I came across something peculiar.
I made this formula for a conditional formula as I always did. (To the side of the table I create the "will be" conditional formula in a cell)
It was evaluating correctly in the worksheet cell.
Then when I went and copied in the formula for the conditional formula it throws an error.
It is weird because the formula evaluates in a cell as intended. Maybe the LET function is not liked by the conditional formula engine?
The formula:
Excel Formula:
=IF(OR($BU6="",DMSTable[@[04/07/2022]]=""),0,LET(GlidePath,INDEX($BY$6:$CJ$48,MATCH(DMSTable[@Measure],DMSTable[Measure],0),MATCH(H$2,$BY$2:$CJ$2,0)),
IFS($BU6="<",(DMSTable[@[04/07/2022]]<GlidePath),
$BU6="<=",(DMSTable[@[04/07/2022]]<=GlidePath),
$BU6=">",(DMSTable[@[04/07/2022]]>GlidePath),
$BU6=">=",(DMSTable[@[04/07/2022]]>=GlidePath),
$BU6="=",(DMSTable[@[04/07/2022]]=GlidePath))))
Quick explanation for what I am trying to achieve:
On the left there is a table with weeks, above it numbers for each week. 7 belongs to July, 8 to Aug and so on. Row2. - In this table we will have weekly team scores.
To the right there is a table with the glidepath (target) for each month. Table with month numbers above in row 2. - In this table we want to set the targets where a conditional formula will go green or red.
Between the two tables there are two columns one for make the result Red on the left hand side and one for Green. (BU:BV)
This columns holding the logical operators that the managers can set up. So the team results (left table) will color based on the glidepath table (right hand)
Something like this. The two helper column for the formula to work out then copy in the conditional formatting is BW6 and BX6.
Anyone have any idea what is wrong with my formula for the conditional formatting?
Thanks