Free Ebook cover Creation of Electronic Spreadsheets with complete Google Sheets

Creation of Electronic Spreadsheets with complete Google Sheets

5

(1)

94 pages

Using common functions (SUM, AVERAGE, etc.): Using the SUM function

Capítulo 23

Estimated reading time: 4 minutes

Audio Icon

Listen in audio

0:00 / 0:00

10.2. Using Common Functions: The SUM Function in Google Sheets

The SUM function is one of the most basic and essential tools in Google Sheets. It allows users to quickly add values, facilitating data analysis and information management. This function is especially useful in various situations, such as financial accounting, inventory management, sales performance analysis, and much more. In this text, we will explore in detail how to use the SUM function and some tips to make the most of it.

Understanding the SUM Function

The SUM function adds the numbers you specify as arguments. Each argument can be a number, a reference to a cell, a range of cells, or a combination of these elements. The basic syntax of the function is:

=SUM(value1, [value2, ...])

Where 'value1' is mandatory, and subsequent values ​​are optional. You can individually sum multiple cells, ranges of cells, and even combinations of both.

How to Use the SUM Function

To use the SUM function in Google Sheets, follow the steps below:

  1. Click on the cell where you want to display the sum result.
  2. Type =SUM( to start the formula.
  3. Enter the values, cell references or ranges you want to sum. For example, =SUM(A1, B1, C1) will sum the values ​​of cells A1, B1 and C1.
  4. Close the parentheses and press Enter to get the result.

To sum a range of cells, you can use a colon to define the range. For example, =SUM(A1:A10) will sum all values ​​in the range A1 to A10.

Continue in our app.

You can listen to the audiobook with the screen off, receive a free certificate for this course, and also have access to 5,000 other free online courses.

Or continue reading below...
Download App

Download the app

Practical Examples

Let's consider some examples to better illustrate the use of the SUM function:

  • Sum of Individual Values: To add individual values, such as 10, 20, and 30, you would use the formula =SUM(10, 20, 30), resulting in 60.
  • Sum of Specific Cells: If you have values ​​in non-adjacent cells, such as A1, A3 and A5, you can sum them using =SUM(A1, A3, A5)< /code>.
  • Range Sum: To sum a continuous range of cells, such as A1 through A10, use =SUM(A1:A10).

Advanced Tips

In addition to basic use, the SUM function can also be combined with other Google Sheets functions and features to create more complex formulas:

  • Using with Conditions: The SUMIF or SUMPRODUCT function can be used to add cells that meet certain conditions. For example, =SUMIF(A1:A10, ">20") will only sum values ​​greater than 20 in the range A1 through A10.
  • Ignoring Text and Empty Cells: The SUM function automatically ignores text and empty cells in the specified ranges. This is useful when you have a mixed range of numbers and text.
  • Absolute and Relative References: When copying formulas with the SUM function, it is important to understand the difference between absolute references (with $) and relative references. For example, =SUM($A$1:$A$10) will always sum the range A1 through A10, even if you copy the formula to another cell.

Care when Using the SUM Function

Although the SUM function is relatively simple, some care is necessary to avoid errors:

  • Check Ranges: Make sure that the ranges selected for summing do not contain unwanted data such as text or error values.
  • Be careful with hidden cells: The SUM function will include values ​​in hidden cells. If you want to ignore hidden cells, consider using the SUBTOTAL function.
  • Circularity Errors: Avoid referencing the formula cell itself, which would cause a circularity error.

Conclusion

The SUM function is a powerful tool in Google Sheets that, when used correctly, can save time and improve the accuracy of calculations. With practice and understanding of the tips and precautions mentioned, you will be well equipped to use the SUM function and other common functions to create efficient and reliable spreadsheets.

Now answer the exercise about the content:

What is the correct syntax to use the SUM function in Google Sheets to sum the values ​​in cells A1, B1, and C1?

You are right! Congratulations, now go to the next page

You missed! Try again.

The correct syntax for using the SUM function in Google Sheets is =SUM(value1, [value2, ...]), where you list the values or cell references you want to add. Option 2, =SUM(A1, B1, C1), correctly lists the cells to sum as arguments, matching the explanation in the text.

Next chapter

Using common functions (SUM, AVERAGE, etc.): Calculating averages with the AVERAGE function

Arrow Right Icon
Download the app to earn free Certification and listen to the courses in the background, even with the screen off.
  • Read this course in the app to earn your Digital Certificate!
  • Listen to this course in the app without having to turn on your cell phone screen;
  • Get 100% free access to more than 4000 online courses, ebooks and audiobooks;
  • + Hundreds of exercises + Educational Stories.