How to highlight/conditional formatting dates older than 30 days in Excel?
For a list of date and you want to highlight the date cells that are older than 30 days since now, would you highlight them one by one manually? This tutorial introduces how to highlight dates older than 30 days with Conditional Formatting in Excel, and easily select and count dates older than a specific date with an amazing tool.
Easily select and count dates older than a specific date in Excel:
The Select Specific Cells utility of Kutools for Excel can help you quickly count and select all dates in a range of date cells which are older than a specific date in Excel. Download the full feature 30-day free trail of Kutools for Excel now!
With Excel’s Conditional Formatting function, you can quickly highlight dates older than 30 days. Please do as follows.
1. Select the dates data and click Home > Conditional Formatting > New Rule. See screenshot:
2. In the New Formatting Rule dialog, you need to:
- 2.1) Select Use a formula to determine which cells to format option in the Select a Rule Type section;
- 2.2) Enter the below formula into the Format values where this formula is true box;
- 2.3) Click the Format button and specify a fill color to highlight the date cells;
- 2.4) Click the OK button. See screenshot:
Note: in the above formula, A2 the first cell of your selected range, and 30 indicates older than 30 days, you can change them as your need.
Now all dates older than 30 day since today are highlighted with specified fill color.
If there are blank cells in the date list, they will be highlighted as well. If you don’t want the empty cells to be highlighted, please go ahead to create another rule.
3. Select the date list again, click Home > Conditional Formatting > Manage Rules.
4. In the Conditional Formatting Rules Manager dialog box, click the New Rule button.
5. In the opening Edit Formatting Rule dialog box, please:
- 5.1) Select Use a formula to determine which cells to format option in the Select a Rule Type section;
- 5.2) Enter the below formula into the Format values where this formula is true box;
- 5.3) Click OK.
6. When it returns to the Conditional Formatting Rule Manager dialog box, you can see the rule is listed out, check the Stop if True box for it. And finally click the OK button.
Then you can see only dates older than 30 days in selected range are highlighted.
Easily highlight dates older than a specific date with an amazing tool
Here introduce a handy tool – Select Specific Cells utility of Kutools for Excel for you. With this utility, you can select all date cells in a certain range which is older than a specific date, and highlight it with background color manually as you need.
Before applying Kutools for Excel, please download and install it firstly.
1. Select the date cells, click Kutools > Select > Select Specific Cells.
2. In the Select Specific Cells dialog box, you need to:
- 2.1) Select Cell in the Selection type section;
- 2.2) Choose Less than from the Specific type drop-down list and enter a certain date you want to select all dates less than it into the text box;
- 2.3) Click the OK button.
- 2.4) Click OK in the next popping up dialog box. (This dialog box informs you how many cells match the condition and selected.)
3. After selecting the date cells, if you need to highlight them, please manually go to Home > Fill Color to specify a highlight color for them.