Flag Overdue Tasks Automatically
Your tracker has a due date and a status column, and you want a third column that automatically says Overdue when the date has passed and the work isn't done.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
AND checks two things at once: the due date in B2 is before today, and the status in C2 is not Complete. Only when both are true does IF return Overdue; otherwise it returns On Track. Completed tasks never show as overdue no matter how old their due date, and future-dated tasks stay On Track. The flag updates itself daily because TODAY() recalculates.
When to use it
Use this as the status engine in project trackers, client deliverable sheets, and invoice logs — then point conditional formatting or COUNTIF at the flag column.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08