Conditional Formatting Help

SantasLittleHelper

Board Regular
Joined
Nov 25, 2016
Messages
77
I would like to highlight dates that are older than 3 months and 6 months.

E.g. 'Start Date' needs to be highlighted yellow if it is older than 3 months from todays date and highlighted red if it is older than 6 months from todays date.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Select a date, e.g. A1

Conditional Formatting
New Rule
Use a formula to determine...
2 rules required in this order

=AND(A1<EDATE(TODAY,-3),A1<>0)
format as yellow

=AND(A1<EDATE(TODAY,-6),A1<>0)
format as red

Use Format painter (paintbrush icon) to copy to other cells
 
Last edited:
Upvote 0
Are you trying to do this on a Form or a Report?
 
Upvote 0
In Design View, right-click on the field, select Conditional Formatting, and enter the following:
Field Value Is -> Less Than -> Dateadd("m",-6,Date())
and select the Red highlighting option

Then, right-click on the field and select Conditional Formatting again, then click the Add button to add another conditions and enter:
Field Value Is -> Less Than -> Dateadd("m",-3,Date())
and select the Yellow highlighting option
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

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