Highlight expired dates

BravoBravoAu

Board Regular
Joined
Nov 8, 2011
Messages
66
Office Version
  1. 2016
Platform
  1. Windows
Hi all - I have read a number of previous posts about similar challenges but can't seem to resolve this.

I have a list of dates associated with training courses (Column A). Column B is the expiry date of the training - generally 12 months (eg =EDATE (A4, 12)).

I want to 'highlight' using fill and conditional formatting:
- in yellow dates in column B that are within one month of expiry, and
- in red dates in column B that are expired (eg today or beyond).

I think Column D is correct. I'm not sure how to conditional format Column B based on the true/false in Column C or D and whether they will conflict.

I have hundreds of rows of data!

Please help?!

Column AColumn BColumn CColumn D
Row 1Checking date:=Today()
Row 2Training Currency Date
Expiry Date<1 month to expireExpired
Row 301/02/23=EDATE($A1, 12)
01/02/24
Highlighted red
=$B3<$B$1
True
Row 415/07/24=EDATE($A2, 12)
15/04/25
=$B4<$B$1
False
Row 520/02/24=EDATE($A3, 12)
20/02/25
Highlighted yellow
=$B5<$B$1
False
 
like this ?
create 2 conditional formatting in Column B

Formula RED:
Excel Formula:
=B3<$B$1

Formula Yellow:
Excel Formula:
=AND(B3-$B$1>0,B3-$B$1<30)

1739842140018.png
 
Upvote 0
Solution

Forum statistics

Threads
1,226,771
Messages
6,192,918
Members
453,766
Latest member
Gskier

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