Highlight Overdue Rows Automatically
Your task tracker has due dates and statuses, and you want overdue items to turn red automatically — the whole row, not just the date cell — without checking dates by hand every morning.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
This formula lives inside a conditional formatting rule applied to the whole table, say $A$2:$C$20. It returns TRUE — and triggers the highlight — only when both conditions hold: the due date in column B is before today, and the status in column C isn't Complete. The $ placement is what makes whole-row highlighting work: $B2 locks the column but not the row, so when the rule evaluates a cell in column A or C of row 2, it still checks B2's date and C2's status. Every cell in a row therefore gets the same TRUE/FALSE answer, and the entire row lights up together. Because TODAY() recalculates daily, rows turn red on their own the day after their deadline passes. Set it up via Home > Conditional Formatting > New Rule > "Use a formula" in Excel, or Format > Conditional formatting > "Custom formula is" in Google Sheets, with the full table selected.
When to use it
Use this on any tracker with deadlines: project tasks, invoices awaiting payment, contract renewals, license expirations. It turns the sheet into a self-updating early-warning system.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08