Automatically highlight future dates once they reach expiration.

Elnene1

New Member
Joined
Oct 27, 2021
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hello all,

I have an equipment maintenance register that lists all equipment in our shop that requires maintenance every 6 months. There are different dates but all dates need to be updated every six months. If you look below, I want the dates in F5-F82 to automatically change to the color red 2 days before the six month expiration. Is this possible? Please help! Thank you!

1635368893462.png
 

Attachments

  • 1635368805090.png
    1635368805090.png
    141.7 KB · Views: 2

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi Elnene1,

You can do that with Conditional Formatting

Elnene1.xlsx
DEFGHI
3Date Last Completed
4Vehicles
501-Jan-21
628-Jan-21
7Lifting Accessories
823-Mar-21
919-Apr-21
1016-May-21
1112-Jun-21
1224-Apr-21
13
1401-Sep-21
1528-Sep-21
1625-Oct-21
1728-Jan-21
18
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F5:F82Expression=AND(F5<>"",EDATE(F5,6)<(TODAY()-2))textNO
 
Upvote 0
Hello Toadstool,

What cell do I put this formula in? I tried to put it in cell F5 but that did not work so I tried to put the formula in cell H5 and it still did not work.

1635427789213.png
 
Upvote 0
It goes into F5 as that's the first cell of the range to check.

1635429057497.png


...then change the Applies to to =$F$5:$F$82

1635429099517.png


It will actually show more cells selected because you have the merged cells (merged cells always cause challenges with formulae).
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,618
Members
449,092
Latest member
amyap

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