Use this formula when you want a Notion task database to calculate the next occurrence of a task from its current due date and a frequency.
if(
prop("Frequency") == "Daily",
dateAdd(prop("Due Date"), 1, "days"),
if(
prop("Frequency") == "Weekly",
dateAdd(prop("Due Date"), 1, "weeks"),
if(
prop("Frequency") == "Monthly",
dateAdd(prop("Due Date"), 1, "months"),
prop("Due Date")
)
)
)What this formula does
The formula reads the Frequency value and adds the matching interval to Due Date.
| Frequency | Result |
|---|---|
Daily | Adds one day |
Weekly | Adds one week |
Monthly | Adds one month |
| Anything else | Keeps the current due date |
Database setup
Create these properties in your Notion database:
| Property | Type | Example |
|---|---|---|
Task | Title | Review expenses |
Due Date | Date | July 25, 2026 |
Frequency | Select | Daily, Weekly, Monthly |
Next Date | Formula | The formula above |
The select values must match the formula exactly. If your date property is called Start Date, replace prop("Due Date") with prop("Start Date").
Add a yearly recurrence
Add another condition before the final fallback:
if(
prop("Frequency") == "Yearly",
dateAdd(prop("Due Date"), 1, "years"),
prop("Due Date")
)Use this branch inside the last if() in the main formula. You can also add Quarterly with 3 months.
Show the next date as a label
If you prefer a readable text result instead of a date property, use:
"Next: " + formatDate(
if(
prop("Frequency") == "Weekly",
dateAdd(prop("Due Date"), 1, "weeks"),
dateAdd(prop("Due Date"), 1, "months")
),
"MMM D, YYYY"
)This shorter variant supports weekly and monthly tasks.
Common problems
If the date does not change, check that Frequency is a Select property and that its value is exactly Daily, Weekly, or Monthly.
If the formula returns an error, check that Due Date is a Date property. Empty dates can also cause problems, so add if(empty(prop("Due Date")), empty(), ...) around the calculation when dates are optional.
Remember that this formula calculates a date. It does not create a new database row or move the task automatically.