Say I have set a value of 55 on cell B2.
If it\'s value is 55, the cell\'s background color should be green. So I created a new rule using a formula by selecting \"U
The behavior you faced looks like a bug, here are some forum links, where people describe exactly the same problem: link1,link2.
In one of those topics you can read that if you enclose your CF formula with ISERROR
, it returns (for unknown reason) True
. Same formula entered in a cell works perfectly fine.
The easiest solution in your case is to replace:
=AND(condition1,condition2)
With equivalent:
=(condition1)*(condition2)
The other workaround shown in one of the linked threads is to replace:
INDIRECT("B" & row())
With its equivalent:
INDEX($B:$B,ROW())
Both solutions work fine in conditional formatting rule.