A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Dayerx. I am an Excel user like you.
I am assuming that you are meaning to compare the dates in Column A with today's date on whatever day you are looking in the file. To do this you will need three Conditional Formatting rules, one for each color criteria. These must be entered individually one at a time.
I modified a couple of the dates in Column A to have dates in each category and to hit the 30 and 60 day marks precisely to confirm there is no overlap. In the screenshot below Columns E through G show the actual results of the three formulas, and Column I shows the actual number of days from the date in Column A to today that is being used to determine the Conditional Formatting.
Rule 1 for 30 days or less before today: Green.
=$A2>=TODAY()-30
Rule 2 for 31-60 days before today: Orange.
=AND($A2<TODAY()-30,$A2>=TODAY()-60)
Rule 3 for more than 60 days: Red.
=$A2<TODAY()-60
- For each rule select all of the cells in Column C that you want formatted and on the Home ribbon click on Conditional Formatting>New Rule>Use a Formula.
- Enter the formula for the rule you are entering in the Format Values line.
- Click on the Format button at the lower right and in the Format Cells dialogue choose the appropriate color for that rule. Then Click OK and OK.