Today we are going to learn how to add 2 numbers together in Notion.
Adding 2 numbers together in Notion is a really simple task. This can be accomplished with the use of add operator in Notion.
Let’s begin…
In order to find the sum of numbers in 1 database, we will follow a 3-step approach as follows:
- We need to create a database to hold the data to find the sum of 2 numbers.
- Set up the database correctly.
- Put the desired formula that will help us find the sum of 2 numbers.
How to create a database in Notion? (Step:1)
Before creating a database, let’s first understand what is a database.
What is a database?
Database in Notion
In Notion, a database is a collection of data that can be structured and organized in a variety of ways. It’s a powerful feature that allows users to create custom databases to store, manage, and track information in a structured and organized manner.
A Notion database is made up of a collection of properties that define the different types of data that can be stored within it.
These properties can include text, numbers, dates, formulas, attachments, checkboxes, and more.
Databases in Notion can be customized to suit a variety of needs, including:
- project management,
- task tracking,
- inventory management,
- customer relationship management, and more.
They can be organized into tables and viewed in a variety of formats, including:
- lists,
- galleries,
- calendars, and
- Kanban boards.
Overall, databases in Notion provide a flexible and powerful way to organize and manage information, making it a popular tool for individuals and teams across a wide range of industries and use cases.
How to create a database in Notion?
How to add a database in Notion
In order to add a database in Notion, simply type “/database” and you will get a list of options for adding a database in Notion.
Select “Database – Inline” and you can add a database to your Notion page quickly.
Next, we will set up the database correctly to find the sum of 2 numbers.
Setting up the database correctly (Step:2)
In any database that you ever create, there will always be a default property which is the first column of the database. This property will always have the “Type” as “Title” which can’t be changed.
In this example, we are writing the Test name in the first column.
Here’s what we will require in our database to find the sum of 2 papers in a database:
- Test (Title Property)
- Paper 1 (Number Property)
- Paper 2 (Number Property)
- Formula – 1 (Formula Property)
- Formula – 2 (Formula Property)
How to add the properties in a database in Notion?
In order to add properties in a database in Notion, click on the “+” symbol at the top right end of a database.
Once selected, you will get a list of options to choose from to select the property type. Select the “Number” property and name it “Paper 1”. Now we have Test (Title) and Paper 1 (Number) set up in the database.
Note: The Test Name is the first column of the database, which is the default property that is created when we create a new database.
Now the next step is to find the sum of 2 numbers in the database with the use of a formula.
Here, we are going to use 2 different formulas to find the sum of 2 numbers in Notion.
Add 2 more properties and set the property type as “Formula” as shown below.
Read More: How to subtract 2 numbers in Notion
Finding the sum of 2 numbers in Notion (Step:3)
Once our database is set up, we need to figure out which formula to use to find the sum of 2 numbers in Notion.
Use of add function to find the sum of 2 numbers in Notion (Formula: 1)
In this formula, we will find the sum of all the numbers by using the sum operator.
For finding the sum of 2 numbers, Notion has another built-in operator to help us find the sum of numbers, i.e. add().
Essentially, add() function helps to add 2 numbers and produces the sum of both. Also add() helps to combine 2 strings together as well.
Important: add() will take 2 parameters inside and will give the output.
Eg:
- add (1,3) = 4
- add (“I love”, “Notion”) = “I love Notion”
Now in order to add the 2 numbers together, i.e. Paper1 and Paper2, we would use the following formula:
add(prop(“Paper 1”), prop(“Paper 2”))
You can copy + paste the following code (formula:2) onto your Notion workspace to find the sum of 2 numbers…
add(prop(“Number 1”), prop(“Number 2”))
Simply add all numbers together in Notion (Formula: 2)
This is a basic formula that essentially works on the following logic:
“Add all the numbers together with the use of the “+” sign ”
Here’s the formula we are going to use to find the sum of 2 numbers using Notion:
prop(“Paper 1”) + prop(“Paper 2”)
You can copy + paste the following code (formula:1) onto your Notion workspace to find the sum of 2 numbers…
prop("Number 1") + prop("Number 2")
Summary
Here’s what we learned about finding the sum of 2 numbers in Notion. We have used 2 formulas to find the sum of 2 numbers in a database.
- prop(“Number 1”) + prop(“Number 2”)
- add(prop(“Number 1”), prop(“Number 2”))