A tracker reads better with words than with a number. Subtracting the as-of date from the due date gives the days left, and a nested IF turns the sign into Overdue, Due today or Due in N days.
A due date of 11/6/2026 viewed on 11/1/2026 shows Due in 5 days.
The example
Three worked examples. Change any yellow input in the practice workbook and the results recalculate.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Case | Due date | As of | Days | Label |
| 2 | Task 1 | Fri 11/6/2026 | Sun 11/1/2026 | 5 | Due in 5 days |
| 3 | Task 2 | Sun 11/1/2026 | Sun 11/1/2026 | 0 | Due today |
| 4 | Task 3 | Wed 10/28/2026 | Sun 11/1/2026 | -4 | Overdue by 4 days |
The formula
Here is the formula, built directly from the inputs:
How it works
Here is the logic, one piece at a time:
B2-C2is days remaining.D2<0means overdue.D2=0means due today.&joins text and the number.
Keep every number in its own input cell so the formula never needs editing.
Try it: interactive demo
Enter the values below.
Variations
Use TODAY
Live countdown.
Singular day
Handle 1 day.
Pitfalls & errors
TODAY recalculates daily; paste values for a static report.
Text dates give #VALUE!; convert them first.
Add conditional formatting for overdue rows.
Practice workbook
Frequently asked questions
Business days?
Why a label?
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