Return Null/Empty Values in Formulas

Learn how to return a null (or empty) value from a Notion formula.

This article may contain affiliate links.This article may contain affiliate links.

Returning an “empty” value from a Notion formula is easy. Just use empty() as the return value:

empty() /* Output: empty (e.g. no output) */Code language: PHP (php)

This is a useful trick for adding if-then cases to formulas that need to retain a single return data type:

if(
  prop("Number") == empty(),
  empty(),
  today()
)
Code language: JavaScript (javascript)

In the past, we used to have to do weird tricks like "".parseDate() to get truly empty return values while retaining a single return type in a formula. No longer!

You can do other cool stuff with empty, so I’d recommend familiarizing yourself with it.

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