Use this formula when you want a Notion task database to show which tasks are late without manually checking every due date.
if(
and(prop("Due Date") < today(), prop("Status") != "Done"),
"Overdue",
""
)What this formula does
The formula checks two things:
| Check | Meaning |
|---|---|
prop("Due Date") < today() | The due date is before today |
prop("Status") != "Done" | The task has not been marked as done |
When both checks are true, Notion displays Overdue. Otherwise, the formula stays empty.
Database setup
Create these properties in your Notion database:
| Property | Type | Example |
|---|---|---|
Due Date | Date | July 25, 2026 |
Status | Status or Select | Not started, In progress, Done |
Overdue | Formula | The formula above |
The property names need to match your database. If your date property is called Deadline, replace prop("Due Date") with prop("Deadline").
Show a clearer label
If you want the formula to feel more visible in a task list, use an emoji:
if(
and(prop("Due Date") < today(), prop("Status") != "Done"),
"Late",
"On track"
)This version always returns a value, which works well if you want to group or filter tasks by the formula result.
Add color and bold styling
Notion formulas can style text outputs. Use this if you want overdue tasks to stand out:
if(
and(prop("Due Date") < today(), prop("Status") != "Done"),
style("Overdue", "red", "b"),
""
)Avoid marking tasks with no due date as overdue
If some tasks do not have a due date, use empty() to keep them blank:
if(
and(not empty(prop("Due Date")), prop("Due Date") < today(), prop("Status") != "Done"),
"Overdue",
""
)Common problems
If every task looks overdue, check whether your Status value is exactly Done. Notion formulas compare the text literally, so Complete, Completed, and Done are different values.
If nothing appears, check the property names. Due date, Due Date, and Deadline are different property names to Notion.
If tasks become overdue too early, check whether your date property includes a time. This formula uses today() for date-only task planning.
When to use this formula
This formula is useful for task managers, content calendars, project trackers, CRM follow-ups, and any Notion database where each row has a due date and a completion status.