Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Highlight Dates Over a Year Old

· 5 min read · Home Tech

In this article
  1. Formula
  2. Worked Example
  3. How to Apply the Rule
  4. Choosing the Right Comparison
  5. Common Mistakes and Fixes
  6. Alternatives to Conditional Formatting
  7. Frequently Asked Questions

To highlight dates over a year old in Excel, use a conditional formatting rule with a formula that compares the date to today's date minus 365 days. Enter dates in cells, select the range, go to Home > Conditional Formatting > New Rule > Use a formula, and type =A1<TODAY()-365 (adjusting A1 to your first cell). This instantly flags any date older than one year from today, and the rule updates automatically as days pass.

Formula

The core formula is =A1<TODAY()-365, where A1 is the first cell in your selected range. Excel evaluates this formula for each cell in the range, applying the format only when the formula returns TRUE. The TODAY() function returns the current date, and subtracting 365 gives you the cutoff date—exactly one year ago. Any date earlier than that cutoff gets highlighted.

If you want to include dates that are exactly one year old, use <= instead of <. For a rolling 12-month window (which handles leap years more precisely), use =A1<EDATE(TODAY(),-12)—this subtracts 12 calendar months rather than 365 days, so it stays accurate across February 29th.

Worked Example

Suppose today is March 15, 2025, and you have the following dates in cells A1:A5:

  • A1: 03/14/2024 (one year and one day ago)
  • A2: 03/15/2024 (exactly one year ago)
  • A3: 03/16/2024 (one year minus one day)
  • A4: 01/01/2023 (over a year ago)
  • A5: 06/30/2025 (future date)

With the rule =A1<TODAY()-365, the cutoff is 03/15/2024. Cells A1 and A4 are less than that, so they highlight. A2 equals the cutoff, so it does not highlight (unless you use <=). A3 is greater, so it does not highlight. A5 is in the future, so it also does not highlight.

How to Apply the Rule

  1. Select the range of cells containing your dates (e.g., A2:A100). Make sure the top-left cell of the selection is the cell referenced in the formula.
  2. Go to the Home tab, click Conditional Formatting, then New Rule.
  3. Choose Use a formula to determine which cells to format.
  4. In the formula box, enter =A2<TODAY()-365 (adjust A2 to match your top-left cell).
  5. Click Format, choose a fill color (e.g., light red), and click OK.
  6. Click OK again to apply the rule.

Important: The formula must reference the first cell in your selected range. If you select B2:B50, use =B2<TODAY()-365. Excel adjusts the reference for each row automatically—this is called a relative reference.

Choosing the Right Comparison

Decide what “over a year old” means for your data:

  • 365 days from today: Use =A1<TODAY()-365. This is simple and works for most business contexts.
  • 12 calendar months: Use =A1<EDATE(TODAY(),-12). This is better for contracts, subscriptions, or anything where the day of the month matters (e.g., a date of 02/29/2024 should become “old” on 02/28/2025, not 02/28/2025 if using 365 days).
  • Year based on year only: Use =YEAR(A1)<YEAR(TODAY())-1. This highlights anything from two calendar years ago or earlier, regardless of the exact date. For example, on 01/01/2025, it highlights all of 2023 and earlier, but not 12/31/2024.
  • Blank cells: Blank cells are treated as 0, which is less than any cutoff, so they will highlight. To exclude blanks, add =AND(A1<>"",A1<TODAY()-365).

Common Mistakes and Fixes

  • Wrong cell reference: If the formula references a cell other than the top-left of your selection, the highlighting will be offset. Always match the first cell.
  • Dates stored as text: If your dates are left-aligned in the cell, they may be text. Conditional formatting won't work reliably. Convert them by selecting the column, going to Data > Text to Columns > Finish, or use DATEVALUE() in a helper column.
  • Rule applied to entire column: If you apply to A:A, the formula =A1<TODAY()-365 will also highlight empty rows (since blank = 0). Use a limited range or add the blank check.
  • Leap year confusion: Using 365 days means that a date like 02/29/2024 becomes “one year old” on 02/28/2025 (since 2025 is not a leap year). If that matters, use EDATE.
  • Rule order: If you have multiple conditional formatting rules, Excel applies them in order. Make sure your “over a year” rule is above any conflicting rules, or check “Stop If True” if needed.

Alternatives to Conditional Formatting

If you don't want to use formatting, you can create a helper column that returns TRUE/FALSE:

  • In a new column, enter =A2<TODAY()-365 and copy down. This gives you a TRUE/FALSE column you can filter or use in other formulas.
  • Use a formula like =COUNTIF(A:A,"<"&TODAY()-365) to count how many dates are over a year old.
  • Use a PivotTable with a calculated field, but that requires more setup.

Conditional formatting is the only method that visually highlights cells without changing your data.

Frequently Asked Questions

Why is my rule highlighting future dates?

If your formula uses > instead of <, or if you accidentally reversed the comparison, future dates will satisfy the condition. Double-check the operator. Also, if your dates are actually text strings, Excel may compare them as text, which can produce odd results—convert to real dates first.

How do I highlight dates older than 1 year but not blank cells?

Use the formula =AND(A1<>"",A1<TODAY()-365). The AND function ensures the cell is not empty before comparing the date. This is especially important if you applied the rule to a large range like A:A.

Does the rule update automatically as days pass?

Yes. The TODAY() function recalculates whenever the workbook opens or when any change is made. If the workbook stays open across midnight, it may not update until the next recalculation (press F9 to force it). The formatting will then reflect the new cutoff date.

Can I highlight dates older than 2 years or 6 months?

Yes. For 2 years, use =A1<EDATE(TODAY(),-24) or =A1<TODAY()-730. For 6 months, use =A1<EDATE(TODAY(),-6). The same logic applies—just change the number of days or months.

What if my dates are in a table (Excel Table)?

When using an Excel Table, the formula should reference the first data cell, like =[@Date]<TODAY()-365 if the column is named “Date”. Or use the cell reference of the first row, e.g., =A2<TODAY()-365, and Excel will apply it to the whole column automatically.

Why does my rule highlight all cells even when some dates are recent?

This usually happens when the formula uses an absolute reference like $A$1 instead of a relative reference. Remove the dollar signs so the formula adjusts for each row. Also, check that the “Applies to” range matches your data range.