if
A quick reference for the Notion if function, including syntax, purpose, return value, and examples.
Quick reference
| Item | Details |
|---|---|
| Function | if() |
| Category | Logic and conditions |
| Syntax | if(condition, trueValue, falseValue) |
| Purpose | Single-condition branching |
| Return value | Any type |

Examples and notes
Syntax:
Example:
Tip: if() works best for two-way choices. If you need more than three nested levels, prefer ifs() or lets().
Related functions
To use these formulas directly in task reminders, project progress, note heatmaps, and reports, continue with FLO.W Notion Template.
Last updated on
Notion Formulas