Highlight Dates Over 30 Days Old

1 Flares Filament.io 1 Flares ×

I was asked yesterday how to highlight dates that were over 30 days old. The situation was that the date of a transaction is recorded and the team need to be alerted when that date is older than 30 days.

Because they wish to highlight the cell, Conditional Formatting will be used. A new rule will be created with criteria to find those dates older than 30 days.

Create the Rule

  1. Select the cells containing the dates you want to format
  2. Click the Conditional Formatting button on the Home tab of the Ribbon and select New Rule from the list
  3. Select Format only cells that contain as the rule type
  4. Choose Cell Value from the first list and less than from the second list in the rule description
  5. Enter the formula =today()-30 in the next box. This formula uses the Today function to find the current date and then subtracts 30 days from it

Highlight dates over 30 days old

  1. Click the Format button and choose the formatting you wish to apply
  2. Click Ok

All dates older than 30 days are highlighted with the formatting you chose.

Conditional Formatting is an extremely useful feature of Excel. Check out more Conditional Formatting tutorials below.

Learn Conditional Formatting in Excel

Highlight Saturday and Sunday in a list

Leave a Reply

Your email address will not be published. Required fields are marked *