Conditional formatting icon sets for expiry 12months from date in cell

adamtaylad

New Member
Joined
Sep 19, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I am producing a skills matrix, I would like to be able to input a date into any cell in the given range for the conditional formatting and it will apply a 12month expiry, it will have the Green tick for the first 11 months, amber in the last remaining month and then once surpassed 12months it would have the Red Cross.

I have tried versions of =TODAY() formulas but I have only got them to work where it will remain Green until it has surpassed 12months and it will not make use of the amber.

I don't need it linked to today, nor do I need it linked to a certain cell - I simply need it to understand the date value in the given cell and work out when it would be due.

I have used a similar formula in the past but I can't for the life of me remember it

Need help from the excel wizards, please and thank you!
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Just one question: What should the input date be compared to?
 
Upvote 0
Just one question: What should the input date be compared to?
Dumb it down for me

I enter a particular date into the cell when something was achieved, this will be valid for 12 months and display green icon, in the last remaining month it would change to amber and then would change to red when it has expired.
 
Upvote 0
This should be what you're looking for:

1726788495560.png



Try following setup:

1726786983736.png


Explanation:

1 calendar year = 365.2425 days
1 calendar month = 30.436875 days
hence
365.2425 days = 12 months
334.805625 days = 11 months
thus
Excel Formula:
= TODAY() - 365.2425
calculates the date 12 months before today
Excel Formula:
= TODAY() - 334.805625
calculates the date 11 months before today
 
Upvote 0
This should be what you're looking for:

View attachment 117081


Try following setup:

View attachment 117075

Explanation:

1 calendar year = 365.2425 days
1 calendar month = 30.436875 days
hence
365.2425 days = 12 months
334.805625 days = 11 months
thus
Excel Formula:
= TODAY() - 365.2425
calculates the date 12 months before today
Excel Formula:
= TODAY() - 334.805625
calculates the date 11 months before today
So far this looks like a winner! could this same rule be applied if I wanted to apply it over a 3 year period? 1095.72.. instead of 365?
 
Upvote 0
Personally I would use EDATE
Excel Formula:
=EDATE(TODAY(),-12)
For 12 months
Excel Formula:
=EDATE(TODAY(),-36)
For 36 months (3 years)
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,154
Members
452,615
Latest member
bogeys2birdies

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