Conditional Formatting Blank Cells

Copper Contributor

I am needing a rule that will allow me to highlight blank cells yellow if they are less than 30 days from the date in Column A.  Then change to red if it goes past the 30 day mark, until data is entered.  FYI, I had to remove info from Columns B & C for privacy purposes.  There will always be information in these 2 columns.  




7 Replies


Select the range D2:U17 (or further to the right and down if necessary).D2 should be the active cell in the selected range.


On the Home tab of the ribbon, select Conditional Formatting > New Rule...

Select 'Use a formula to determine which cells to format'.

Enter the formula


Click Format...

Activate the Fill tab.

Select yellow.

Click OK, then click OK again.


Repeat these steps, but with the formula


and red as fill color.

very good
Thank you for the response. I highlighted the columns that I need the formulas applied to, and have built the rules as shown and it does not appear to be doing it correctly for me.


Please attach a sample workbook demonstrating the problem, or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar.


Your sample workbook doesn't contain ANY conditional formatting rule, so it's impossible to tell why it didn't work for you...


I have attached the workbook with the two rules that I proposed.

Thank you so much for your assistance. I recreated what you did and after some trial and error got it to work.