i cannot change a cells color using the formula above
Well yes and no, if you pair the if statement with a conditional format you can get this to work.
Assuming that the if statement is placed in cell R5, first select R5. Then click on "Conditional Formatting" ("Home" tab) and click "New Rule", then select "Use formula to determin witch cell to formate"
(Don't forget R5 must be selected!).
In the window that opends beneath the line "Formate values ........" write
then click "Formate" and select tab "Fill" then select "green" and click ok.
Then you need a rule for the case R1 is not like R3. Same procedure as earlier but this time write formula
and select red as fill color.
Alf
Ps Thanks for feedback and rep and hopefully I've now deserved the rep you gave me on my first attemp
Bookmarks