Formulas and Databases

Reference

Formula Examples

true

Learn how to use the Boolean constant true in Notion formulas.

1

true

Type **checked checkbox,** representing the value

`true`

into a Notion formula property, and that property will output a `true`

.A **Boolean** value has only two states, which can be thought of as:

- True or False
- 1 or 0
- On or Off

A Boolean simply represents the two *truth values* of logic.

Notion represents Boolean values with checked (true) and unchecked (false) checkboxes.

Learn more about Booleans

This formula will simply output

`true`

in a Notion formula property, displaying as a checked checkbox:1

true

1

true ? "π" : "π"

This is an **condition** is true. The condition is the first part of the

`if()`

statement written in shorthand - it could also be written as `if(true,"π","π")`

. It will simply output π if the `if()`

statement, or what is left of the `?`

in the shorthand formula.Since the Boolean **Happy** property in the example database below for proof.

`true`

outputs `true`

naturally, the result will be π. See the `true`

and `false`

are `True`

or `False`

will result in a syntax error.Here you can see how Notion displays **Happy** formula, which is shown above.

`true`

and `false`

Boolean values. You can also see the output of our True

College Info Geek on Notion

β My name is Thomas Frank, and I'm a Notion-certified writer, YouTuber, and template creator. I've been using Notion since 2018 to organize my personal life and to run my business and YouTube channel. In addition to this formula reference, I've created a free Notion course for beginners and several productivity-focused Notion templates. If you'd like to connect, follow me on Twitter.

Last modified 21d ago

Copy link

On this page

Example Formulas

Example Database

View and Duplicate Database