Turn an Excel Cell Red When a Date Is More Than One Year Away
Question details
Highlight cells containing dates more than 12 months after today with a red fill.

- 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.
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.
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.
Select the cells to highlight, such as B3:B100, starting with B3 as the active cell.
On the Home tab, select Conditional Formatting > New Rule, then choose Use a formula to determine which cells to format.
Enter =AND(B3<>"",B3>EDATE(TODAY(),12)). Replace B3 with the first cell in your selected range, without dollar signs.
Select Format, open the Fill tab, choose red, and select OK. Select OK again to apply the rule.

Highlight Dates More Than 365 Days Away
Use this simpler rule when a fixed 365-day comparison is sufficient.
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. Open your spreadsheet: Open the workbook in WPS Spreadsheet and select your date range, such as B3:B100.
- 2. Add a formatting rule: On the Home tab, select Conditional Formatting > New Rule and choose the formula-based rule option.
- 3. Enter the date formula: Enter =AND(B3<>"",B3>EDATE(TODAY(),12)), replacing B3 with the first cell in your selected range.
- 4. Choose red: Select Format, choose a red fill, and confirm the rule to apply it to the selected cells.

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.




