Check to see if date is less than 6 months?

afc171

Board Regular
Joined
Jan 14, 2017
Messages
143
Office Version
  1. 2013
Platform
  1. Windows
Hi all,

I am trying to figure out now to check expiry dates in column H to check if they are less than 6 months from the data of processing. So if I did it today 5/May/23 and the expiry is 6/Nov/23 then I would like it to highlight the expiry date in column H.
Not sure what formula I need got conditional formatting?

Thank you
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
How about
Excel Formula:
=H2<=EDATE(TODAY(),6)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
Hi Fluff, I have this hightlight column E, but if the cell is blank is hightlights all cells Red instead of anything less than 6 months, anyway to fix this?
 
Upvote 0
Try
Excel Formula:
=and(H2<>"",H2<=EDATE(TODAY(),6))
 
Upvote 1
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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