SOLVED

Change the cell color base on IF value

Copper Contributor

Hi Expert

 

How can I create an excel formula for below condition

 

Condition

DayUnit
Sunday10
Monday20
Tuesday30
Wednesday40
Thursday50
Friday60
Saturday70

 

If condition is below above value, the cell should change to red color

 

DayCondition is meet or not
Sunday30
Tuesday15 (This cell should change to red color)
Monday40
Friday40 (This cell should change to red color)
Wednesday80
Monday5 (This cell should change to red color)
Saturday60 (This cell should change to red color)
Friday80
Wednesday55

 

 

1 Reply
best response confirmed by anwarsafian (Copper Contributor)
Solution

@anwarsafian added the following CF rule to your file.

 

 

=B13<XLOOKUP(A13,$A$3:$A$9,$B$3:$B$9)

 

See attached. If you have an older version of Excel you can achieve something similar with VLOOKUP. That would be:

 

=B13<VLOOKUP(A13,$A$3:$B$9,2,0)

 

1 best response

Accepted Solutions
best response confirmed by anwarsafian (Copper Contributor)
Solution

@anwarsafian added the following CF rule to your file.

 

 

=B13<XLOOKUP(A13,$A$3:$A$9,$B$3:$B$9)

 

See attached. If you have an older version of Excel you can achieve something similar with VLOOKUP. That would be:

 

=B13<VLOOKUP(A13,$A$3:$B$9,2,0)

 

View solution in original post