Tests and values come in pairs, read in order and only as far as needed. One more value at the end is what it gives when no test is true; without one, that is empty. Every value is the same kind.
Syntax
ifs(test, value, otherwise?, …)Arguments marked ? are optional. An ellipsis (…) allows more arguments.
Try an example
ifs(Words > 100, "big", Words > 10, "medium", "small")Returns "big" (text).
Change the example note’s properties
Run the expression to see its result here.
Date examples use 9 October 2026, 12:00 UTC. Examples run in your browser using Shelf’s formula engine.
Use it in your library
The example names the sample note’s properties. In the app, the formula editor shows the same example with your library’s own properties. Write a property name with spaces as prop("Target words"). The formula language reference explains values, operators, and lists.