Forum Discussion
Conditional Formatting based on two cells
- Jul 31, 2019
You may apply the rule to B1:B2 only and, if you need another colour for the pair B3:B4, create one more rule applying to B3:B4 with similar formula, only change B1 on B3 in it. Or, alternatively, create the rule for B1:B2, after that apply by Format Painter to B3:B4 and change colour for this pair rule.
You may use one rule with the formula
=LEN(B1&OFFSET(B1,MOD(ROW(),2)*2-1,0))=0
applied to entire column B (starting from cell B1)
Thanks, is it not possible to do it for selected sells such as maybe b1 and b2, as i need a separate one for b3 and b4?
- SergeiBaklanJul 31, 2019Diamond Contributor
You may apply the rule to B1:B2 only and, if you need another colour for the pair B3:B4, create one more rule applying to B3:B4 with similar formula, only change B1 on B3 in it. Or, alternatively, create the rule for B1:B2, after that apply by Format Painter to B3:B4 and change colour for this pair rule.