EXCEL 2007 NO VALUE= NO COLOR [Solved/Closed]

Report
-
 out o' ideas -
Hello,
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?

Thanks

2 replies

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
767
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 ?
1
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.

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!