Conditional Formatting Dates

  • Thread starter Thread starter KW
  • Start date Start date

KW

Board Regular
Joined
Jan 25, 2005
Messages
167
I'm trying to change the font colour of a date depending on the following criteria:

Red if the date is today or in the past
Amber if the date is within 1 month

Can anybody offer any suggestions?

Many thanks
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
For past dates: =a1<=TODAY()
For upcoming dates: =a1<=TODAY()+30

Put them in the order shown. This will work in pretty much any version of Excel. However, if you have 2007 or newer, there are also alternate ways to do this.

To use these formulas in Excel 2007, the steps would be:
Home tab, Conditional Formatting
New rule
Use a formula to determine which cells to format
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

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