Excel Conditional Formatting for Dates After the Current Year
Question details
Create a conditional formatting rule that highlights dates in years after the current year.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Employees enter dates in a spreadsheet, and future-year dates should be highlighted without manually updating the rule each year.
- Observed behavior
- Only dates whose year is later than the current year should be formatted; dates in the current year should remain unformatted.
Check that the cells contain actual Excel dates rather than dates stored as text. Identify the top-left cell of the range you want to format; the formula must reference that cell.
Create a Dynamic Conditional Formatting Rule in Excel
Use a formula to highlight dates in any year after the current year and update the comparison automatically.
Select the cells containing dates, starting with the top-left cell. For example, select A1:A100 with A1 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 =YEAR(A1)>YEAR(TODAY()). Replace A1 with the top-left cell of your selected range, and leave the reference relative rather than adding dollar signs.
Select Format, choose a fill or other style, and select OK. Select OK again to apply the rule.

Highlight Future-Year Dates in WPS Spreadsheets
Use a formula-based conditional formatting rule in WPS Spreadsheets to highlight dates after the current year without changing the rule annually.
- 1. Open the spreadsheet: Open WPS Spreadsheets and use File > Open to select your spreadsheet.
- 2. Select the dates: Select the date range, noting its top-left cell, such as A1.
- 3. Add a formula rule: On the Home tab, open Conditional Formatting > New Rule and choose the option to use a formula. Enter =YEAR(A1)>YEAR(TODAY()), replacing A1 with the top-left cell of your range.
- 4. Apply a format: Choose a fill or other format, confirm the rule, and save the spreadsheet.

Frequently Asked Questions
Will this rule highlight dates later this year?
No. The formula compares years, so it highlights only dates in years after the current year, not later dates within the current year.
Why is the wrong cell being highlighted?
Check the formula under Home > Conditional Formatting > Manage Rules. Its relative reference should match the top-left cell of the range in Applies to; for example, use A1 for a range starting at A1.
Do I need to change the formula every January?
No. TODAY() returns the current date, so YEAR(TODAY()) changes with the year. Check that workbook calculation is set to automatic if the formatting does not refresh.
Why are some entered dates not formatting?
Check whether the entries are actual date values rather than text. Convert text entries to dates, then verify the rule and its Applies to range under Home > Conditional Formatting > Manage Rules.




