Conditional Formatting for Dates

bill351

Board Regular
Joined
Jan 19, 2009
Messages
83
Hey guys I have a Training scheduling sheet with a range from D4 to H132 and what I am trying to do is highlight pending training dates.
What would be ideal is 30 day as red, 60 days as yellow and everything above 60 days as green. I have tried a simple =NOW()+30 however when trying for all 3 they override each other and I was given IF((TODAY()-A1)>30,TRUE,FALSE)however this didn't work across the whole sheet as well? We originally had a tracking sheet that did all this but it has been deleted a few years ago and cant be retrieved :(
Thanks from Oz
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Jerry Sullivan

MrExcel MVP
Joined
Mar 18, 2010
Messages
8,787
Hi bill351,

First, since you'll be using relative reference in your CF formulas, make sure that you have D4, the upper-left cell selected (or the entire range D4:H132), when you define each rule.

Make 3 Rules:
=D4>TODAY()+60 (cell color-> green)
=D4<=TODAY()+30 (cell color-> red)
=D4<=TODAY()+60 (cell color-> yellow)

Then open the Manage Rules dialog.
If the rules don't appear in the same order listed above, use the up and down arrow buttons to reorder them.
Click the checkboxes for "Stop If True" next to the first 2 rules.
Make the Applies To: $D$4:$H$132 for all rules.
 
Last edited:

bill351

Board Regular
Joined
Jan 19, 2009
Messages
83
Thanks Jerry I Will give that a go when I return to work tomorrow
 

Watch MrExcel Video

Forum statistics

Threads
1,123,307
Messages
5,600,869
Members
414,411
Latest member
Snowmanaus

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
Top