Conditional format by date - Formatting when blank

jimmisavage

Board Regular
Joined
Jun 28, 2017
Messages
130
Hi,
I have a straightforward conditional format =$H2<TODAY()+1 to fill a cell based on the date. It works great... only it also fills the cell when it's blank. Is there a way to stop it from doing this?

Many thanks
Stuart
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Okay, so it wasn't letting me post the formula
Code:
=$H2<today()+1[ code]

It works as expected but my formatting is also applied when the cell is blank. This is something I don't want to happen. Is there a way to prevent it from formatting on a blank cell? I know i could add another format on top of it but i have a few formats and that would mess up a number of others.

WOW, it really doesn't want me to add the formula!! it's the H2 followed by < today() plus 1</today()+1[>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,215
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top