Forum Discussion
packie
Apr 16, 2025Brass Contributor
Less than conditional formatting issue
Anyone know how to exclude blank cells when using <than cell formatting
The sample worksheet shows highlighted blank red cells
Blank cells H10 & H20 should not be highlighted
One option is to change the rule to one of type 'Use a formula to determine which cells to format', with formula
=AND(H7<F7, H7<>"")
Another option is to keep the rule with Cell Value less than =F7, and to add a new rule of type Cell Value equal to ="" and No Fill color and Automatic font color.
2 Replies
Sort By
One option is to change the rule to one of type 'Use a formula to determine which cells to format', with formula
=AND(H7<F7, H7<>"")
Another option is to keep the rule with Cell Value less than =F7, and to add a new rule of type Cell Value equal to ="" and No Fill color and Automatic font color.
- packieBrass Contributor
I have used your first solution as it works best with a formatted table.
Thankyou