How to Use the SUM Function in Google Sheets

Last Updated : 14 Jan, 2026

The SUM function in Google Sheets is a fundamental tool for adding numbers across cells, ranges, or datasets, making it essential for tasks like budgeting, sales tracking, or data analysis. Its simplicity and flexibility streamline calculations, and it automatically updates with data changes.

SUM Function Syntax:

=SUM(value1, [value2, )

  • value1: The first value or range of values to sum.
  • [value2,]: Additional values or ranges to sum (optional).

How It Works:

The SUM function adds the values in a specified range or list of values. You can sum entire columns, specific rows, or individual cells, and it automatically updates when data changes.

1. How to Use the SUM Function in Google Sheets

To sum ranges in Google Sheets, simply use the SUM function to quickly add up values in a range of cells. Here's how:

Step 1: Select the Cell for the Result

Choose the cell where you want to display the sum result (e.g., C2).

Screenshot791
Select the Cell

Step 2: Define the Sum Range

Select the range of cells you want to sum, such as B2:B9.

Screenshot792
Define the Sum Range

Step 3: Write the SUM Formula

In the selected cell, type the formula:

=SUM(B2:B10)

This will sum all the values in the range B2:B10.

Screenshot793-
Enter the SUM Formula

Step 4: Press Enter

Hit Enter to apply the formula, and the result will be displayed in the selected cell.

Screenshot794
Press Enter

2. Advanced Techniques for Using the SUM Function

When working with complex data in Google Sheets, you can take your use of the SUM function to the next level by using sum ranges in Google Sheets. This allows you to quickly add up values from specific parts of your sheet without having to select each individual cell. Here are some advanced techniques:

2.1. Adding Numbers in a Single Range

To add numbers in a single range in Google Sheets, you can use the SUM function to quickly calculate the total. A range is simply a group of cells you want to add together. Here's how you do it:

Step 1: Select the Cell for the Result

Choose the cell where you want to display the sum result (e.g., C2).

Screenshot795
Select the Cell

Step 2: Define the Sum Range

Select the range of cells you want to sum, such as B2:B9.

Step 3: Write the SUM Formula

In the selected cell, type the formula:

=SUM(B2:B9)

Screenshot796-
Enter the SUM Formula

Step 4: Confirm the Formula

Press Enter to display the sum of the selected range.

Screenshot797
Press Enter

2.2. Adding Numbers from Multiple Ranges

In Google Sheets, you can easily add numbers from multiple ranges using the SUM function. Instead of adding each range separately, you can include all the ranges in a single formula. This saves time and makes your calculations simpler. Here's how to do it:

Step 1: Select the Cell for the Result

Choose the cell where you want to display the combined sum (e.g., C2).

Screenshot795
Open Google Sheets >> Select a Cell

Step 2: Define Multiple Ranges

Identify the ranges you want to sum, such as A2:A5 and B2:B5.

Step 3: Write the SUM Formula

Type the formula:

=SUM(A2:A5, B2:B5)

Screenshot798-
Enter the Formula

Step 4: Confirm the Formula

Press Enter to calculate the total of all specified ranges.

Screenshot799
Enter the Formula

2.3. Adding Individual Cells

To add individual cells in Google Sheets, you can use the SUM function by selecting each cell one by one. Here are the following steps for you to follow:

Step 1: Select the Cell for the Result

Choose the cell where you want the sum to appear (e.g., C2).

Screenshot795
Select the Cell

Step 2: Identify the Cells to Add

Note the specific cells you want to include, such as A2, B3, and C4.

Step 3: Write the SUM Formula

Type the formula:

=SUM(A2, B3, C4)

Screenshot800
Enter the Formula

Step 4: Confirm the Formula

Press Enter to see the sum of the selected cells

Screenshot801
Enter the Formula >> Press Enter

3. Troubleshooting the SUM Function

IssueSolution
Non-Numeric Values in RangeEnsure all values in the range are numeric. Use =ISNUMBER(cell) to verify. Remove or correct any non-numeric entries.
Hidden Characters or Extra SpacesUse TRIM() to remove extra spaces and CLEAN() to remove non-printable characters to ensure only numeric values are included.
Circular ReferencesGo to File > Spreadsheet settings > Calculation, and disable circular references. Look for any formulas referring back to themselves.
Error Values in RangeUse the IFERROR() function to replace errors with zero. Example: =SUM(IFERROR(A1:A10, 0)).
Incorrect Range SelectionDouble-check that the correct range is selected and contains the cells you want to sum.
Inconsistent Number FormatsEnsure all numbers are in the correct format by selecting cells and choosing Format > Number > Number. Use VALUE() to convert text to numbers.

Also Read:


Comment