Conditional Formatting Formula for Dates

cTatch

New Member
Joined
Jan 21, 2021
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hey Y'all,

I'm trying to figure out a conditional formatting formula for cells O17-O30 that highlights date cells that are either in the past, today, or up to 3 months in the future, all relative to today's date.

Does anyone know a good formula for that?

Thank you!
Chelsea
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi,

Use below:

Excel Formula:
=O17<=EDATE(TODAY(),3)
 
Upvote 0
Hi,

Use below:

Excel Formula:
=O17<=EDATE(TODAY(),3)
Hi, not sure why, but I could get that to work - when I used that formula it didn't highlight the correct cells. Any ideas? I've posted the date cells I'm using here. Thank you.

1/31/2021​
1/31/2021​
4/30/2019​
9/30/2021​
9/30/2021​
8/31/2021​
12/31/2020​
 
Upvote 0
How about
+Fluff v2.xlsm
O
1731/01/2021
18
1931/01/2021
20
2130/04/2019
22
2330/09/2021
24
2530/09/2021
26
2731/08/2021
28
2931/12/2020
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O17:O29Expression=AND(O17<>"", O17<=EDATE(TODAY(),3))textNO
 
Upvote 0
How about
+Fluff v2.xlsm
O
1731/01/2021
18
1931/01/2021
20
2130/04/2019
22
2330/09/2021
24
2530/09/2021
26
2731/08/2021
28
2931/12/2020
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O17:O29Expression=AND(O17<>"", O17<=EDATE(TODAY(),3))textNO
That worked perfectly! Thanks so much, Fluff.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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