Formatting Issues

Turn an Excel Cell Red When a Date Is More Than One Year Away

Rana GarciaRana Garcia Dec 2, 2026 868 views

Question details

Highlight cells containing dates more than 12 months after today with a red fill.

Turn an Excel Cell Red When a Date Is More Than One Year Away
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants a date range to update its highlighting automatically as the current date changes.
Observed behavior
Dates more than 12 calendar months after today should appear red; dates on or before the cutoff should not.
Before you start

Check that the cells contain actual Excel dates rather than text. Identify the first cell in the range you want to format; the examples below use B3.

Solution 1Recommended

Create a Formula-Based Rule for Dates More Than 12 Months Away

Use this method to compare dates by calendar month and ignore blank cells.

1
Select the date range

Select the cells to highlight, such as B3:B100, starting with B3 as the active cell.

2
Create a new rule

On the Home tab, select Conditional Formatting > New Rule, then choose Use a formula to determine which cells to format.

3
Enter the formula

Enter =AND(B3<>"",B3>EDATE(TODAY(),12)). Replace B3 with the first cell in your selected range, without dollar signs.

4
Set the red fill

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

Create a Formula-Based Rule for Dates More Than 12 Months Away
How the cutoff works: EDATE(TODAY(),12) calculates the date 12 calendar months from today. The > operator excludes a date exactly on the cutoff.
Highlight dates in WPS Spreadsheet

Highlight Dates More Than One Year Away in WPS Spreadsheet

Use a formula-based conditional formatting rule in WPS Spreadsheet to mark dates more than 12 calendar months from today with a red fill.

  1. 1. Open your spreadsheet: Open the workbook in WPS Spreadsheet and select your date range, such as B3:B100.
  2. 2. Add a formatting rule: On the Home tab, select Conditional Formatting > New Rule and choose the formula-based rule option.
  3. 3. Enter the date formula: Enter =AND(B3<>"",B3>EDATE(TODAY(),12)), replacing B3 with the first cell in your selected range.
  4. 4. Choose red: Select Format, choose a red fill, and confirm the rule to apply it to the selected cells.
Automatically highlights dates beyond the 12-month cutoffOpens and edits Microsoft Excel XLSX and XLS filesProvides familiar spreadsheet formatting toolsFree to use for everyday spreadsheet tasks
microsoft office alternative - wps office

Frequently Asked Questions

How do I exclude blank cells from the rule?

In the formula-based rule, use =AND(B3<>"",B3>EDATE(TODAY(),12)), replacing B3 with the first cell in your selected range.

Will a date exactly one year from today turn red?

No. The > operator highlights only dates after the 12-month cutoff. Use >= instead if the cutoff date should also be highlighted.

Why use EDATE instead of adding 365 days?

EDATE(TODAY(),12) advances by 12 calendar months, while TODAY()+365 adds a fixed number of days. The results can differ around leap years.

Why is a date not being highlighted?

Check that the cell contains a real date rather than text, and open Home > Conditional Formatting > Manage Rules to verify the formula and the range it applies to.

Does the highlighting update as time passes?

Yes. TODAY() returns the current date, so the rule updates when the workbook recalculates.