Skip to content
Feb 28

Notion Advanced: Formulas, Relations, and Rollups

MT
Mindli Team

AI-Generated Content

Notion Advanced: Formulas, Relations, and Rollups

Moving beyond basic pages and checklists, Notion’s true power emerges when you connect and calculate information dynamically. Mastering formulas, relations, and rollups transforms Notion from a static note-taking app into a living, interconnected system. These features allow you to model complex workflows, automate status tracking, and gain insights from aggregated data, turning your workspace into a tailored operating system for your projects and knowledge.

Formulas: The Engine of Calculated Properties

A formula in Notion is a computed property that performs calculations or manipulates text, dates, and logic based on other properties in a database. It’s the engine that adds intelligence to your data, automating what would otherwise be manual updates. Formulas are built using Notion’s proprietary function language, which includes operators and functions for numbers, text, dates, and logic.

Think of a formula as a custom column that derives its value. For instance, in a task database, you might have a "Due Date" and a "Status" property. You can create a formula property named "Overdue" that automatically checks if today's date is past the due date and the status is not "Done". The formula would use the now(), prop(), and logical and() functions. This turns subjective tracking into an objective, auto-updating signal.

Formulas shine in countless scenarios: calculating the duration between dates for project timelines, concatenating first and last name fields into a full name, or creating a priority score based on a combination of impact and effort. The key is to start simple. Begin by identifying a repetitive calculation or status you manually determine, then explore the function list to see if you can automate it. Common starting points include if() statements for logic, dateBetween() for timelines, and concat() for combining text.

Relations: Connecting Your Databases

While formulas work within a single database, relations connect information between databases. A relation property creates a two-way link between entries (or "pages") in two separate databases, establishing a meaningful connection. This is the foundational feature for building connected systems in Notion, such as linking Projects to Tasks, Clients to Invoices, or Books to Authors.

Imagine you have a "Projects" database and a "Tasks" database. By creating a relation property called "Related Project" in the Tasks database and linking it to the Projects database, you connect them. Now, each task can be associated with its parent project. Crucially, the link works both ways. When you look at a project page in the Projects database, you’ll see a "Related Tasks" view showing all tasks linked to it. This bidirectional link prevents data duplication and creates a single source of truth.

Relations enable you to organize complex information without silos. For a content creator, you could have databases for "Content Ideas," "Published Pieces," and "Promotion Channels." A piece in the "Published Pieces" DB can relate to its original idea and all the social media posts created to promote it. Clicking through these relations tells the complete story of that piece’s lifecycle, from conception to promotion, all without copying and pasting information.

Rollups: Aggregating Data Across Links

Rollups are the natural—and powerful—extension of relations. A rollup property lets you "look up" and perform operations on information from a related database. Once you have a relation established, you can create a rollup to calculate sums, averages, check statuses, or simply display values from the connected entries.

This is where your system becomes truly intelligent. Returning to the Projects and Tasks example: after creating the relation, you could add a rollup property to the Projects database called "Task Completion." This rollup would look at all related tasks and calculate the percentage that are marked "Done." Now, on your project dashboard, you can instantly see overall progress without manually counting tasks. Other powerful uses include summing the budget of all related expenses, showing the earliest due date among linked tasks, or creating a list of all assigned team members from related items.

Rollups often work hand-in-hand with formulas. You might create a rollup to get a list of due dates from related tasks, then use a formula property with the min() function to find the next imminent deadline. This layered approach—relation, then rollup, then formula—is the blueprint for building sophisticated dashboards and overviews that aggregate key metrics from across your workspace.

Common Pitfalls

  1. Overcomplicating Formulas Early On: Beginners often try to build one massive, complex formula. This leads to errors and frustration. Correction: Build formulas incrementally. Break your desired outcome into smaller steps, test each step with a temporary formula property, and then combine them. Use comments within your formula (with the /* comment */ syntax) to document your logic.
  1. Creating Redundant or Circular Relations: It’s easy to create multiple relations that serve the same purpose or, worse, create a loop (Database A relates to B, B relates to C, and C relates back to A). Correction: Plan your database relationships like a simple map. A relation should represent a clear, one-way relationship (like Project has Tasks). If you find yourself needing multiple relations between the same two databases, reconsider if you need a third, linking database instead.
  1. Misunderstanding Rollup Output Types: A rollup can output different types of data: a simple "Value," a "List" of values, or a pre-calculated "Function" like sum or average. Choosing the wrong one breaks downstream formulas. Correction: If you plan to use the rolled-up data in a formula, you must select the correct output. To perform a calculation within Notion, you typically need the "Value" or specific "Function" output. The "List" output is for display purposes.
  1. Neglecting the "Related" Database View: When you create a relation, Notion automatically adds a linked view to the related page. Many users miss this feature. Correction: Always customize this linked view. On a Project page, the default "Related Tasks" view can be filtered (e.g., to show only incomplete tasks), sorted, and have its properties arranged. This turns every project page into a powerful, contextual dashboard.

Summary

  • Formulas are computed properties that automate calculations, text manipulation, and logical checks within a single database, serving as the core logic for a dynamic workspace.
  • Relations create bidirectional links between entries in different databases, forming the connective tissue of your Notion system and eliminating data silos.
  • Rollups aggregate and perform operations on data from related databases, enabling high-level insights like sums, averages, and progress tracking across connected information.
  • The most powerful systems use these features in sequence: Relations connect data, Rollups extract and summarize it, and Formulas then analyze or display the results.
  • Start simple, build incrementally, and always customize the linked database views created by relations to build clear, actionable dashboards.

Write better notes with AI

Mindli helps you capture, organize, and master any subject with AI-powered summaries and flashcards.