Format cells to highlight within time frame for future date?

story

New Member
Joined
May 20, 2016
Messages
2
Hi, I have a spreadsheet with an Expiration Date column, with dates ranging from some expiring this year to 2021. I need to have dates become yellow when they are less than 3 months from their expiration date and red when they are less than 2 months from expiring.

I know I need to do some conditional formatting, but I'm not quite sure how. I've tried searching, but I only come across how to do it from todays date, but I need it from various future dates.

Any help would be greatly appreciated and if I need to post any more information, please let me know.

Thank you!!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I think you are trying to do a predictive strategy... something like how many people will expire within 3 months in the 3rd quarter of next year. You can set the date in a known cell and make that a locked reference. So if A1 is the place you want to make changes you can do =today() or you can enter your own query. all your conditional formatting is still based on the value of $A$1.
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,976
Members
449,095
Latest member
Mr Hughes

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