Notion formula cheat sheet

Most functions can be written two ways: length(prop("Name")) or chained, prop("Name").length(). Both work.

Scratchpad

Try anything from this page against a sample row.

Properties

FormulaWhat it does
prop("Name")Value of a property in this row
current.prop("X")Property of a related page, inside map/filter

Logic

FormulaWhat it does
if(c, a, b)a if c is true, else b
ifs(c1, a, c2, b, …, else)First match wins
and, or, notCombine conditions. not applies first: not a == b means (not a) == b
== != > >= < <=Compare
empty(x)True if x is blank
lets(a, 1, b, 2, a + b)Name values and reuse them

Numbers

FormulaWhat it does
+ - * / % ^Math
round(x)Nearest whole number
round(x * 100) / 100Round to 2 decimals
floor / ceil / absDown / up / absolute
min / max / sum / meanWork on several numbers or a list
toNumber("42")Text → number

Text

FormulaWhat it does
"a" + "b"Join text
format(x)Anything → text (+ also converts a number when the other side is text)
length(t)Number of characters (an emoji counts as 1)
contains(t, "x")True if text t contains x, or list t has item x
replace / replaceAll(t, regex, new)First / every match
lower / upper / trimChange case, strip spaces
slice(t, start, end)Part of a text
split(t, ",")Text → list
repeat("■", 5)Repeat text

Dates

FormulaWhat it does
now() / today()Current date-time / today's date
dateAdd(d, 7, "days")Move a date forward
dateSubtract(d, 1, "months")Move back
dateBetween(a, b, "days")a − b in whole units
formatDate(d, "MMM D, YYYY")Date → text
day(d) / month(d) / year(d)Parts of a date
parseDate("2026-11-30")ISO text → date
dateStart(r) / dateEnd(r)Start / end of a date range
dateRange(start, end)Build a date range

Lists

FormulaWhat it does
map(list, expr)Transform each item (use current)
filter(list, cond)Keep matching items
join(list, ", ")List → text
length(list)Count items
first / last / at(i)Pick an item
sort / reverse / uniqueReorder, dedupe
includes(list, x)True if x is in list
some / every / findAny / all / first match

formatDate tokens

TokenExample
YYYY / YY2026 / 26
MMMM / MMM / MM / MNovember / Nov / 11 / 11
DD / D / Do05 / 5 / 5th
dddd / dddThursday / Thu
h:mm A / HH:mm3:07 PM / 15:07
[text]Literal text, e.g. "[Week of] MMM D"

Practice all of it: 15 free exercises →