Formatting Issues

Highlight Excel Dates More Than One Year Old

Chanuka GeekiyanageChanuka Geekiyanage Nov 25, 2026 868 views

Question details

Highlight dates older than 12 months in Excel without formatting blank cells.

Highlight Dates More Than One Year Old in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants a date range to automatically highlight entries more than one year old.
Observed behavior
Dates earlier than the 12-month cutoff should receive a fill color, while blank cells remain unformatted.
Before you start

Check that the cells contain actual Excel dates rather than dates stored as text. Note the first cell in the range you want to format; the formula must reference that cell.

Solution 1Recommended

Create a Conditional Formatting Rule for Dates Older Than 12 Months

Use a formula-based rule to highlight old dates and exclude blank cells.

1
Select the date range

Select the cells containing your dates, such as A1:A100.

2
Create a new rule

Go to Home > Conditional Formatting > New Rule, then select Use a formula to determine which cells to format.

3
Enter the formula

Enter =AND(A1<>"",A1<EDATE(TODAY(),-12)). Replace A1 with the first cell of your selected range, using a relative reference.

4
Choose the fill color

Select Format, open the Fill tab, choose a color, and select OK. Select OK again to apply the rule.

Create a Conditional Formatting Rule for Dates Older Than 12 Months
How the cutoff works: The rule highlights dates earlier than the date 12 months before today. A date exactly on the cutoff is not highlighted.
Format dates in WPS Spreadsheets

Highlight Dates Older Than a Year in WPS Spreadsheets

Use a formula-based conditional formatting rule in WPS Spreadsheets to color dates older than 12 months while excluding blank cells.

  1. 1. Open the spreadsheet: Open WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Select the dates: Select the date range you want to format, such as A1:A100.
  3. 3. Add a formula rule: Go to Home > Conditional Formatting > New Rule and choose the option to use a formula. Enter =AND(A1<>"",A1<EDATE(TODAY(),-12)), replacing A1 with the first cell in your selected range.
  4. 4. Set the format: Choose a fill color in the rule's formatting options, then confirm the rule to apply it.
Automatically highlights dates before a rolling 12-month cutoffExcludes blank cells from the ruleSupports Microsoft Excel XLSX and XLS filesOffers a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why are blank cells highlighted by my date rule?

A simple less-than rule can treat blank cells as zero. Edit the rule under Home > Conditional Formatting > Manage Rules and use =AND(A1<>"",A1<EDATE(TODAY(),-12)), replacing A1 with the first cell in the formatted range.

Will a date exactly 12 months old be highlighted?

No. The < operator highlights only dates earlier than the 12-month cutoff. Change it to <= if you also want to include the cutoff date.

Why isn't a date being highlighted?

Check that the value is a real Excel date rather than text, and confirm that the formula references the first cell in the selected range. You can inspect the range and formula under Home > Conditional Formatting > Manage Rules.

Does the 12-month cutoff update automatically?

Yes. The TODAY() function supplies the current date when the workbook recalculates, so the cutoff moves over time.