I have a question for the community regarding combining conditional formatting rules.
Currently, I have 3-rules with the same formatting. They are:
=AND($A2””,AND($B20))
=AND($C2””,AND($D20))
=AND($E2””,AND($F20))
The rules are applied to rows 2-12 in columns B, D and F.
Is it possible to have a single Conditional Formatting rule that would check columns A, C and E (rows 2-12), if they are NOT BLANK, then check the values in B, D and F, if one or more ARE NOT equal to 0, apply the formatting to that particular cell?
For example, if:
A2 is blank and B2 = 0 (no formatting applied to B2), C2 is NOT blank and D2 = 1 (formatting is applied to D2) and E2 is NOT blank and F2 = 0 (no formatting applied to F2). If the value of D2 is changed to 0, the formatting would disappear and if the values of B2 and/or F2 were changed to 1, the formatting would apply to those cells.
I’ve tried to combine the 3-rules into a single Conditional Formatting rule using various combinations of AND and OR statements. I’m not getting any error messaged, I am just not getting the desired results.
=AND(A2″”,AND($B20),OR(AND(C2″”,AND($D20,OR(AND(E2″”,AND($F20)))))))
Any help is greatly appreciated.