Highlight Due & Overdue Dates

Excel Formulas › Conditional Formatting

All versionsTODAY

Make deadlines impossible to miss. Conditional-formatting rules using TODAY() turn past-due dates red and upcoming ones amber — and they re-evaluate every day automatically.


Quick formula: select your due-date column (B2:B40), then add a formula rule:
=B2 < TODAY()
Any date earlier than today is overdue and gets the format. Add a second rule for “due soon” using a window like B2 <= TODAY()+7.

Functions used (tap for the full reference guide):

The example

Due dates relative to today (June 17, 2026): past = overdue, next 7 days = due soon.

AB
1TaskDue
2Invoice6/10/2026 (overdue)
3Report6/20/2026 (due soon)
4Audit7/30/2026

The formula

Two rules — overdue first, then due-soon:

=B2 < TODAY() // overdue (red) =AND(B2>=TODAY(), B2<=TODAY()+7) // due soon (amber) // order matters: overdue rule on top

How it works

Layer two formula rules and let order do the work:

  1. Add the overdue rule first: =B2 < TODAY() with a red fill. Anything before today turns red.
  2. Add the due-soon rule: =AND(B2>=TODAY(), B2<=TODAY()+7) with amber, catching the next 7 days.
  3. Because the overdue rule sits above due-soon in Manage Rules, an already-past date never gets mis-flagged as “soon.”
  4. TODAY() recalculates each day the file opens, so the highlights roll forward automatically — no manual updating.

Skip completed tasks: add a status check so done items don’t glow red — =AND($C2<>"Done", $B2<TODAY()). Lock the columns with $ and select the whole table to shade entire rows.

Try it: interactive demo

Live demo

Set a due date; see its status vs today.

Status:

Variations

Skip completed

Don’t flag done tasks:

=AND($C2<>"Done", $B2<TODAY())

Due today exactly

Highlight just today:

=B2 = TODAY()

Within 30 days

A wider window:

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

Pitfalls & errors

Rule order matters. Put the overdue rule above due-soon (or stop if true), or an overdue date can pick up the wrong color.

TODAY() is volatile. It updates on recalc, so the file’s highlights change day to day — intended, but it marks the workbook as modified.

Times sneak in. If a cell holds a date and time, =B2<TODAY() treats today’s afternoon as “past.” Use INT(B2) to compare dates only.

Practice workbook

📊
Download the free Highlight Due & Overdue Dates practice workbook
A task list with layered overdue/due-soon rules, the skip-completed and due-today variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I highlight overdue dates in Excel?
Add a formula rule =B2 < TODAY() with a red fill. Any date before today is flagged, and TODAY() updates automatically each day.
How do I highlight dates due within a week?
Add a second rule =AND(B2>=TODAY(), B2<=TODAY()+7) with an amber fill, placed below the overdue rule.
How do I stop completed tasks from being highlighted?
Add a status check: =AND($C2<>"Done", $B2

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: Days until a date · Highlight weekends · Highlight entire row

Function references: TODAY