Excel conditional formula for due dates

Occasional Visitor



I am a very new to formulas in excel and are trying to set up an excel sheet to help me with work. What I am trying to do is create a formula that will change the fill color of a cell if the value (date) of the cell is within X amount of days of the value. 




So for example, for this particular column, these are dates that something is due. What I would like to happen is for excel to recognize that this date is within 60 days of its due date and turn the cell(s) that are within that 60 day window red. If they are within 60 and 90 days, turn the cell(s) yellow, if they are over 90 days till due date, turn them blue. 


I am pretty sure this is possible, but I am not sure how to do it.


Any help is much appreciate.

2 Replies

@Justalex123 What you are looking for is Conditional Formatting. The first step is to create a new column next to your RFI Due column that calculates the remaining number of days. The formula to track real-time daily updates would be:



From there, you select the new column and apply a Conditional Format


From there you can control the control the cell format based on the condition you select:



Rinse & Repeat






Here is a file that you could set according to your needs.

We always recommend uploading a file (without sensitive data) to your example.

So anyone who would like to help can submit a proposed solution to you much faster.


If you find this helpful, please mark it as "Best Answer" and as Like (click thumbs up), it will be beneficial to more Community members reading here.


Wish you a nice day / night with lots of health, joy and love.



I know I don't know anything (Socrates)