I am trying to use conditional formatting using a formula with a range. I am not getting the results that I want. Can you use a formula with a range for conditional formatting:
The condition is numbers with the last two numbers after the decimal point that end in a odd number and any cell that has N.
The condition is numbers with the last two numbers after the decimal point that end in a odd number and any cell that has N.
Book1 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | What I am getting | |||||||
2 | 156.23 | N | Y | N | TRUE | |||
3 | 180 | N | N | N | ||||
4 | 192.56 | Y | Y | N | ||||
5 | ||||||||
6 | What I want | |||||||
7 | 156.23 | N | Y | N | ||||
8 | 180 | N | N | N | ||||
9 | 192.56 | Y | Y | N | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F2 | F2 | =OR(1*RIGHT(FIXED(A2,2,1),2)>0,C2="N",D2="N",E2="N") |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
A2:E4 | Expression | =OR(1*RIGHT(FIXED(A2,2,1),2)>0,C2="N",D2="N",E2="N") | text | NO |