larger

Learn how to use the Boolean "larger" (>) operator in Notion formulas.

The larger (>) operator returns true if its left operand is greater than its right operand. It accepts numeric, date, and Boolean operands.

number > number Boolean > Boolean date > date larger(number, number) larger(Boolean, Boolean) larger(date, date)

You can also use the function version, larger().

2 > 1 // Output: true 42 > 50 // Output: false // Boolean values equate to 1 (true) and 0 (false). true > false // Output: true true > true // Output: false // For dates, "less than" equates to "before". now() > dateSubtract(now(), 1, "days") // Output: true

Good to know: When comparing dates, “larger” = “later”.

Good to know: The larger (>) operator cannot be chained in a Notion formula. A formula like 3 > 2 > 1 won’t work. Use the and operator to get around this – e.g. 3 > 2 and 2 > 1.

This example database records the power levels of two fighters at different stages. The Stronger formula outputs a sentence stating who the stronger fighter is at that time.

Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.
A new tool that blends your everyday work apps into one. It’s the all-in-one workspace for you and your team
thomasfrank.notion.site
((prop("Goku") > prop("Vegeta")) ? "Goku is stronger" : "Vegeta is stronger") + " during " + prop("Saga") + "."

This formula uses the conditional operators ? and : to form an if-then statement. The output is then combined with strings and the output of the Saga property via the add (+) operator (which can concatenate strings).

Other formula components used in this example:

if – Thomas Frank
thomasjfrank.com
add – Thomas Frank
thomasjfrank.com
About the Author

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.

🤔 Have an UB Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas

🤔 Have a Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas