out o' ideas -
I've conditionally formated multiple cells to highlight green when the inputted date is within a 2 year period and red if it exceeds 2 years. The problem I have, is that any cell that does not have a value entered into it, i.e. the cell is blank, has defaulted to red. It makes sense why, but I haven't figured out what additional conditional formula I can add that will allow the cell with no value to remain white/no fill. I've tried "0", "a1=0", "today()-a1=today()" for example with no luck. How do I get cells, with no value/data, to remain white?


2 replies

Registration date
Thursday January 28, 2010
Last seen
August 2, 2020
What formula are you using to define the two conditions ? Conditional format is triggered when conditions are met so it seems that your formula have a logical error. Could you share how you have applied the conditions ?
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2942 users have said thank you to us this month

In excel 2007, I'm using the "Use a formula to determine which cells to format" under the New Formatting Rule option. You input the formula and then set the format desired for a true statement. I was able to finally figure out how to make the cells with no value be white. I had to use the "Format only cells that contain" option instead of the one used above, and define it as blanks to be formated as white. This has worked, though I'm sure there should've been another way without having to have defined yet another condition.