


Without \\b, this would output "Thwas is Sparta" replace( "This is Sparta", "\\bis\\b", "was") // Output: This was Sparta replaceAll Replace( "Pogo", "Po", "Dog") // Output: Doggo // Matches the first occurrance, unless otherwise specified replace( "Dogs Dogs Dogs", "Dogs", "Cats") // Output: Cats Dogs Dogs // $ tells the regex engine "start from end of line and work backwards" replace( "Dogs Dogs Dogs", "Dogs$", "Cats") // Output: Dogs Dogs Cats // Matches are case-sensitive replace( "thomas", "t", "T") // Output: Thomas // You can use brackets to create a set of characters, // any of which will be matched replaceAll( "thomas", "homas", "Megatron") // Output: Megatron // You can also create a group with () and then use the | (OR) operator replaceAll( "thomas", "(T|t)homas", "Megatron") // Megatron // Accepts regex metacharacters, such as "\\b" which denotes "word boundary". Examples include concat (combines strings) and dateAdd (adds x units of time to a date).Īrguments are the accepted pieces of data used within functions: Function – pre-defined formulas that you can use to accomplish complex things quickly.Includes mathematical operators (such as add), Boolean operators (such as not), and the ternary operator (if). Operator – symbols that perform operations on 1-3 operands.
NOTION FORMULA TUTORIAL PLUS
NOTION FORMULA TUTORIAL FULL
Each link here will take you to a full page in the Formula Reference where you can learn more. Here are some of the most common terms you’ll run across when working with Notion formulas.
NOTION FORMULA TUTORIAL HOW TO
You may also want to check out my Formula Examples Database in Notion itself there, you’ll find more than 80 example databases demonstrating how to use every formula component listed here. Advanced guides on Notion regular expressions, formula errors, data type conversion, and more.A full breakdown of Notion formula syntax.Detailed tutorials for creating formula properties and working in the formula editor.Full explanations for every constant, operator, and function.

There, you’ll find comprehensive technical documentation on Notion formulas, including: It is a companion to my complete Notion Formula Reference. This cheat sheet is meant to be a quick, easy-to-use bookmark. On this page you’ll find one or more example formulas for every constant, operator, and function available in the Notion formula editor.

This is a complete quick reference or “cheat sheet” for Notion formulas. » Back to Top Close mobile table of contents menu✕ Notion Formula ReferenceĬlose mobile documentation menu✕ Notion Formulas: The Ultimate Cheat Sheet (2023) Return Empty/Null Values in Notion Formulas.
