Formula Errors

Excel Conditional Formatting for Dates After the Current Year

Amos GikundaAmos Gikunda Nov 25, 2026 869 views

Question details

Create a conditional formatting rule that highlights dates in years after the current year.

Highlight Dates After the Current Year in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the date range

Select the cells containing dates, starting with the top-left cell. For example, select A1:A100 with A1 as the active cell.

2
Create a formula 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 =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.

4
Choose the formatting

Select Format, choose a fill or other style, and select OK. Select OK again to apply the rule.

Create a Dynamic Conditional Formatting Rule in Excel
The rule changes with the year: TODAY() supplies the current date, so the rule excludes all dates in the current year and highlights dates in later years. Ensure automatic calculation is enabled if the results do not refresh.
WPS Spreadsheets

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. 1. Open the spreadsheet: Open WPS Spreadsheets and use File > Open to select your spreadsheet.
  2. 2. Select the dates: Select the date range, noting its top-left cell, such as A1.
  3. 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. 4. Apply a format: Choose a fill or other format, confirm the rule, and save the spreadsheet.
Highlights dates in years after the current yearUpdates the year comparison using TODAY()Compatible with Microsoft Excel XLSX filesUses familiar spreadsheet formulas and formatting controls
microsoft office alternative - wps office

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.