Help with conditional date formatting

chuckman

New Member
Joined
Oct 23, 2006
Messages
4
Hello,

I am at my wits end. I am trying to apply 3 rules of conditional formatting to dates on my sheet. I have spent an entire day reading and researching how to do this and have yet to nail it down correctly.

Here is what I want to happen on my sheet.
1.) Any date that is more than 60 days from today I want green
2.) Any date that is between current date up to 60 days I want amber
3.) Any date that has come and gone I want in red

I have applied the following to cell H21 and it seems to work fine.
Green - =$H2-TODAY()>60
Amber - =AND($H2-TODAY()>=1, $H2-TODAY()<=60)
Red - =AND(H2<=TODAY())

If that seems correct...great. If not, please make suggestions.

The bigger issue I am having is copying the conditional formatting to the rest of the cells thru M16. It seems no matter how I have tried this, the results are all over the place. Such as changing date in H2 so it has an amber date it would turn amber, but so would I2 thru M2. Or I would add a red date to anywhere on the sheet but it would not turn red.

Can someone please tell me what I am doing wrong? I am not a lazy person and have looked, there is something I am just not getting.

Thanks in advance
 

Attachments

  • Excel Dates.JPG
    Excel Dates.JPG
    126.9 KB · Views: 4

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
the $ is fixng the cell to only use H
So if you select H2 : M200 say (or however many rows you want
then
remove the $ and it would work
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,039
Members
448,940
Latest member
mdusw

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