Highlight Future (or Past) Dates

Excel Formulas › Conditional Formatting

All versionsTODAY

Flag dates still to come — upcoming renewals, scheduled tasks — or the ones already gone. A simple comparison to TODAY() does it, and it re-evaluates every day.


Quick formula: select the date column, add a rule:
=A1 > TODAY()
TRUE for any date after today. Use < TODAY() for past dates, = TODAY() for today.

Functions used (tap for the full reference guide):

The example

Dates after today (June 17, 2026) are flagged.

AB
1DateWhen
27/01/2026future
36/01/2026past

The formula

Compare each date to today:

=A1 > TODAY() // future = after today

How it works

TODAY() gives a live cutoff:

  1. TODAY() returns the current date and updates daily.
  2. Compare each date: > TODAY() for future, < TODAY() for past, = TODAY() for today.
  3. Because TODAY() recalculates, the highlights roll forward automatically — no manual updates.
  4. Combine for a window: =AND(A1>TODAY(), A1<=TODAY()+30) flags the next 30 days.

Watch hidden times. If a cell holds a date and a time, > TODAY() treats this afternoon as “future” (TODAY() is midnight). Compare to INT(A1) or use >= TODAY()+1 to mean “strictly after today.”

Try it: interactive demo

Live demo

Pick a date; see future/past/today.

Status:

Variations

Past dates

Already gone:

=A1 < TODAY()

Within next 30 days

Upcoming window:

=AND(A1>TODAY(), A1<=TODAY()+30)

This month

Same month as today:

=TEXT(A1,"mmyy")=TEXT(TODAY(),"mmyy")

Pitfalls & errors

Times shift the boundary. Date+time cells make “today” look past/future. Use INT() to compare dates only.

Volatile TODAY(). It recalcs constantly, marking the workbook changed — expected for a live cutoff.

Real dates only. Text that looks like a date won’t compare — convert with DATEVALUE.

Practice workbook

📊
Download the free Highlight Future (or Past) Dates practice workbook
A future/past date CF rule with the window and this-month variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I highlight future dates in Excel?
Add a formula CF rule =A1 > TODAY(). It flags any date after today and updates automatically each day. Use < TODAY() for past dates.
How do I highlight dates in the next 30 days?
Use =AND(A1>TODAY(), A1<=TODAY()+30).
Why are today's dated-with-time cells flagged as future?
TODAY() is midnight, so an afternoon time counts as after today. Compare to INT(A1) to ignore the time.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Highlight dates due · Highlight weekends · Days until a date

Function references: TODAY