conditional date highlight

wmtsub

Active Member
Joined
Jun 20, 2018
Messages
322
Using the conditional format function how can I highlight any date equal or older than today()?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
This should work

Select the range to highlight

Conditional Formatting
New Rule
Use a formula to determine...

=(AND(A1>0,A1<=TODAY()))

Format as required
 
Last edited:
Upvote 0
I followed the instructions given, it did not work.
The sheet I am working on is formatted as a Table - does that make a difference?
 
Last edited:
Upvote 0
What column or range do you want this to work on?
 
Upvote 0
Shouldnt matter, I just created a table and put a CF on it and it highlighted.

You need to change A1 to whatever the top left cell is that you want to highlight.
So if your data is in B13:J46 you need to change the A1 cell to B13.

Maybe they are not dates, this is a common fallacy.
Choose a cell you think is a date, let's say A1
In a blank cell type
ISNUMBER(A1)

If it says FALSE then your dates are not dates, they are text and the CF prob won't work in which case you'll need to change them all to proper dates.
 
Upvote 0
Thanks everyone, this was the issue:
"
You need to change A1 to whatever the top left cell is that you want to highlight."

Changed to proper row and all is good
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,862
Members
449,052
Latest member
Fuddy_Duddy

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