Skip to main content
FLO.W 思流Notion Formulas
Back to function index

if

A quick reference for the Notion if function, including syntax, purpose, return value, and examples.

Quick reference

ItemDetails
Functionif()
CategoryLogic and conditions
Syntaxif(condition, trueValue, falseValue)
PurposeSingle-condition branching
Return valueAny type

Official example of the if function in the Notion formula editor

Examples and notes

Syntax:

if(condition, valueIfTrue, valueIfFalse)

Example:

if(prop("Score") >= 60, "Pass", "Fail")
if(empty(prop("Assignee")), "Unassigned", prop("Assignee").map(current.name()).join("、"))

Tip: if() works best for two-way choices. If you need more than three nested levels, prefer ifs() or lets().

To use these formulas directly in task reminders, project progress, note heatmaps, and reports, continue with FLO.W Notion Template.

Back to function index

Last updated on