Google Sheets: Creating Simple Formulas
Last Updated :
01 May, 2024
Google Sheets is a powerful spreadsheet tool that allows you to create and edit sheets with ease. It also boasts real-time collaboration features, making it perfect for teamwork. But where Sheets truly shines is in its formula capabilities. Formulas can automate calculations, saving you time and effort. This article will teach you how to create basic formulas in Google Sheets, including those for addition, subtraction, multiplication, average, and count.
What is Cell Referencing in Google Sheets
Cell referencing in Google Sheets is a way to refer to the data in a particular cell or a range of cells in formulas. There are two types of cell references: relative and absolute1.
Relative References
By default, all cell references are relative references. When copied across multiple cells, they change based on the relative position of rows and columns. For example, if you copy the formula =A1+B1 from row 1 to row 2, the formula will become =A2+B21.
Absolute References
There may be times when you do not want a cell reference to change when copying or filling cells. You can use an absolute reference to keep a row and/or column constant in the formula. An absolute reference is designated in the formula by the addition of a dollar sign ($). It can precede the column reference, the row reference, or both. For example, =$A$1
Using Cell References in Google Sheets
When a formula includes a cell address, it's employing a cell reference. Formulating with cell references allows for easy numerical value updates without rewriting.
Step 1: Select your Cell
Formulas always reside within cells. Choose the cell where you want the calculated result to appear.
Step 2: Put Equal Sign (=)
Every formula starts with an equals sign (=). This tells Google Sheets you're about to craft a magical instruction.
Step 3: Referencing the Magic (Cell References)
Formulas often rely on values from other cells. Use cell references (e.g., A1, B2) to tell the formula where to find its ingredients.
Step 4: Mathematical Mastery (Basic Operators)
Google Sheets supports all the basic mathematical operators you know and love:
+ (addition)
- (subtraction)
* (multiplication)
/ (division)
Example: In cell C1, type =A1 + B1 to add the values from cells A1 and B1.
Adding the Cells
Step 1: Select the Cells
If you want to calculate the addition of some particular numbers, then first you need to select the cell that will show you the output and then enter the formula. The alternate method for adding the number within the cell address is to use the formula (=SUM R1+C1), where R1 and C1 are the rows and columns.
Select the CellStep 2: Start with "=" and Type Cell Address
After selecting the particular cell that will hold the output type the formula starting with the "=" and enter the cell addresses according to the rows and columns, remember to enter the operator that you want the number to perform.
Enter the = sign >> Enter Cell ReferencesSubtracting the Cells
Step 1: Select the Output Cell
Select the cell in which you want to make the output of the values that are subtracting.
Select the CellStep 2: Type "=" and Enter Operator (-) and Enter Cell Address
For subtracting the values using cell reference enter the subtracting formula in the cell, start with "=" and enter cell address. Also, enter the "-" operator between the cell address.
Type '=' >> Enter Cell ReferenceMultiplying the cells
Step 1: Select the Cell
Select the cell which will reflect the output of the multiplied values.
Select the CellStep 2: Enter "=" and Enter Operator (*) and Cell Address
As always start with the "=' sign and enter the operator "*" between the cell references.
Enter the '*' operator >> Enter Cell Reference Step 1: Open Google Sheets
Go to Google Sheets and select a sheet in which you want to perform calculations.
Open Google Sheets >> Select a SheetStep 2: Select the Output Cell and Type "="
After opening the sheet in which you want to perform the calculations select the cell which will contain the output of the reference cells. Now in the selected cell type the "=" sign as you are going to perform the calculations.
Select the Output Cell >> Type "="Step 3: Click on the Reference Cell, Type Operator and Click second reference cell
Now take your pointer to the cell that you want to refer to and click on it, then enter the operator you want to perform and choose the second reference cell. Your cells will be calculated.
Click on first reference cell >> Enter Operator >> Click on second Reference cellHow to Find the Average of Numbers in Google Sheets
Step 1: Open Google Sheets and Select a Document
Go to Google Sheets and select a sheet in which you want to perform calculations.
Open Google Sheets >> Select a SheetStep 2: Select the Cell and Type '=AVERAGE'
To find the average between two cell numbers select an output cell and type "=AVERAGE" in it.
Select the Cell >> Type '=AVERAGE'Step 3: Give the Cell Reference
Now give the cell reference to the AVERAGE function to calculate the average of the numbers.
For example: 'AVERAGE (B1:B6)'
Give Cell Reference How to use COUNT Function in Google Sheets
Step 1: Open Google Sheets and Select a Document
Go to Google Sheets and select a sheet in which you want to perform calculations.
Open Google Sheets >> Select a DocumentStep 2: Select a Cell and Type '=COUNT (range)'
The COUNT function is used to count the number of cells in the range passed in the function. So, to use it select a cell and type the function 'COUNT' along the range passing in it.
For example: '=COUNT (A2:A4)'.
Type '=COUNT (RANGE)'Conclusion
Creating simple formulas in Google Sheets helps you in your lengthy calculations and makes it easier. You can simply create your formulas in Google Sheets by starting with the '=' sign as it indicates that you want to create a formula. There are many formulas used in Google Sheets and some of the basic formulas of Google Sheets are AVERAGE, SUM, COUNT, etc.
Similar Reads
Top Google Sheets Formulas Google Sheets is a versatile, cloud-based spreadsheet tool that allows users to create, edit, and share data online. Whether you're managing a business, organizing school work, or performing data analysis, learning Google Sheets formulas can significantly enhance your productivity. With the right fo
8 min read
Amazing Google Sheet Tips and Tricks Google Sheets has some amazing tips and tricks that will boost your productivity and improve your spreadsheet. Google Sheets offers many features like changing cell colours, font style, formatting, etc. Let's learn these skills to be more efficient and productive.Google Sheet Tips and Tricks Table o
4 min read
Google Sheets IF Function: Ultimate Guide The IF function in Google Sheets is one of the most versatile tools for logical testing and decision-making. Whether youâre working with numbers, text, or dates, this function allows you to evaluate conditions and define custom outputs based on whether those conditions are true or false. From simple
12 min read
How to Use ChatGPT to Write Excel Formulas Worrying about mastering Excel formulas? Thinking about the right syntax and function for hours? If you are, ChatGPT has got you covered! Discover how ChatGPT makes Excel formula writing effortless in the following article. In data analysis, Excel formulas reign supreme as a crucial tool. They make
5 min read
How to Copy a Formula Down an Entire Column in Google Sheets Imagine having a superpower that can enhance your productivity in Google Sheets. Well, copying formulas down an entire column in the one. Instead of doing the same calculations again and again, you can easily do your tasks by using this method. It's like having a clone army of formulas at your comma
5 min read
Google Sheets Function List A function is a built-in formula in Excel that performs calculations using specified values in a set order. Excel offers many common functions to quickly compute the sum, average, count, maximum, and minimum values of a cell range. To use functions effectively, you need to understand their component
6 min read