← Back to Notion formulas
DatesBeginner

Notion Formula If a Date Is Empty

Copy practical Notion formulas that detect an empty date and show a clear label, fallback date, or reminder.

Notion Formula If a Date Is Empty cover

Use case

Detect missing dates

Properties

Due Date

Use empty() when a Notion date is optional and you want to show a clear result when nobody has added a date yet.

if(
  empty(prop("Due Date")),
  "Missing date",
  "Date added"
)

What this formula does

empty(prop("Due Date")) checks whether the Date property has a value. The formula returns Missing date when it is blank and Date added when it contains a date.

This is useful for finding incomplete records without opening each page.

Database setup

Create these properties in your Notion database:

PropertyTypeExample
Due DateDateJuly 30, 2026 or empty
Date checkFormulaThe formula above

The property name in the formula must match your database. For a property called Deadline, replace prop("Due Date") with prop("Deadline").

Show a fallback date

Return a text reminder for empty dates and a formatted date for filled dates:

if(
  empty(prop("Due Date")),
  "Add a due date",
  formatDate(prop("Due Date"), "MMM D, YYYY")
)

This is useful when the formula column is the main place people scan. The output is text, so use the original Date property for date sorting.

Check for a missing date and status

Only flag open tasks that do not have a date:

if(
  and(
    empty(prop("Due Date")),
    prop("Status") != "Done"
  ),
  style("Needs a date", "red", "b"),
  ""
)

Add a Status property with a value named exactly Done. Change that value in the formula if your database uses Complete or another label.

Return a checkbox-style result

If you want to filter for missing dates, return a Boolean instead of text:

empty(prop("Due Date"))

The formula returns true for an empty date and false when a date is present. Name the formula Date missing and filter it to true.

Common problems

If a date that looks blank is not detected, remove any placeholder text from the Date property. A Date property should be empty, not filled with TBD or None.

If you get an error, check that Due Date is a Date property. empty() can check other property types, but date formatting functions such as formatDate() need an actual date.

If completed tasks still show Needs a date, check the exact spelling of the status option. Notion compares status values literally.

When to use this formula

Use this pattern for task due dates, CRM follow-ups, project milestones, publishing schedules, and records that need a manual review before they are complete.