beginner 2 min read

How to Sum a Column in Google Sheets (SUM Function)

Sum a column in Google Sheets with =SUM(B2:B20), total a column that keeps growing, see a quick sum without a formula, and fix totals that come out wrong.

SB

Sheets Bootcamp

February 19, 2026 · Updated September 30, 2026

Reviewed by Ryan
Syntax
=SUM(value1, [value2, ...])

Quick Answer

To sum a column in Google Sheets, click the cell below the numbers and type =SUM(B2:B20), using your column’s first and last cell. For a column that keeps growing, =SUM(B2:B) adds everything from B2 down. Put that one outside column B, or it counts itself and returns #REF!.

SUM adds numbers together: individual values, cell references, whole ranges, or any mix. Adding up a column is the job it does most, so that’s where this page starts.

How to Sum a Column

Click the empty cell under your numbers and type SUM with the column’s range:

=SUM(B2:B20)

That adds every number from B2 to B20. Blank cells count as nothing, and text is skipped without an error, so a column with a stray “n/a” still totals.

Sum a column that keeps growing

If you add rows every week, a fixed range like B2:B20 stops including them once you pass row 20. Leave off the last row number instead:

=SUM(B2:B)

That adds B2 all the way to the bottom of the column, including rows added later.

Warning

Don’t put =SUM(B2:B) inside column B. The range then includes the cell holding the formula, which is a circular reference. We tested it: the formula returns #REF!. Put the total in a different column or above the data.

See a sum without a formula

Select the cells you want to add. Google Sheets shows their sum in the bottom-right corner, for example Sum: $1,556.00. Click that box to switch it to average, count, min or max. It’s the quickest check, and nothing is added to the sheet.

Parameters

ParameterRequiredDescription
value1YesThe first number, cell reference, or range to add.
value2, ...NoAdditional numbers, cell references, or ranges.

More SUM Examples

Sum multiple ranges

=SUM(B2:B20, D2:D20)

Returns the combined total of both ranges. Add as many ranges as you need, separated by commas.

Try it yourself

Question 1 of 3

3 quick questions. No account needed.

In B11, use SUM to total the Cookies column.

A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
Booth
Cookies
Brownies
Pies
Gym
$24.00
$18.00
$30.00
Library
$12.00
$22.00
$15.00
Cafe
$31.00
$16.00
$45.00
Lobby
$9.00
$27.00
$20.00
Field
$18.00
$11.00
$25.00
Hall
$27.00
$19.00
$10.00
Office
$14.00
$23.00
$35.00
Garden
$20.00
$13.00
$40.00
Total
B11

Mix ranges and single values

=SUM(B2:B10, 50, C2)

Adds the total of B2:B10, plus 50, plus the value in C2.

Sum with a condition

To add only some rows, for example sales from one region, use SUMIF or SUMIFS instead:

=SUMIF(A2:A20, "West", B2:B20)

Sum only visible rows

SUM includes hidden rows. To total only what’s on screen after hiding or filtering rows, use SUBTOTAL with code 109:

=SUBTOTAL(109, B2:B20)

See hide and unhide rows for how the two compare.

Common Problems

The total is too low. Some numbers are stored as text, and SUM skips text inside a range. We tested a column of 100, 50 and 25 where the 50 was text: SUM returned 125, not 175. Text numbers usually sit on the left side of the cell. Fix them with Format > Number > Number, or convert with =VALUE().

#REF! Either the range includes the formula’s own cell (see the warning above), or a row or column the formula pointed at was deleted. Check the range in the formula bar.

The total doesn’t update for new rows. The range ends before the new rows. Use an open-ended range like B2:B, or insert new rows inside the existing range rather than below it.

Tips

Use SUM instead of chaining cells with +. =SUM(B2:B100) is shorter than =B2+B3+B4..., and it keeps working when you insert rows inside the range.

To subtract one column’s total from another, subtract two SUMs: =SUM(B2:B20)-SUM(C2:C20). More in how to subtract in Google Sheets.

Frequently Asked Questions

How do I sum a column in Google Sheets?
Click the cell under the numbers and type =SUM(B2:B20), using your own first and last cell. The total updates whenever a number in the range changes.
How do I sum a whole column that keeps growing?
Leave off the last row number: =SUM(B2:B) adds everything from B2 to the bottom of the column, including rows you add later. Put the formula outside column B, because a total inside its own range is a circular reference and returns #REF!.
How can I see the sum without a formula?
Select the cells. Google Sheets shows the sum in the bottom-right corner of the screen, for example Sum: $1,556.00. Click it to switch to average, count, min or max.
Why is my SUM total too low?
Some numbers are stored as text, and SUM skips text inside a range. In a test, a column of 100, 50 and 25 totaled 125 because the 50 was text. Convert them with Format > Number or VALUE.
Does SUM include hidden rows?
Yes. SUM adds hidden rows too. To total only the visible rows, use =SUBTOTAL(109, B2:B20).

You read it. Now type it.

Unit 1 of the course is free: 6 short lessons in a grid that checks every formula. They teach the Google Sheets skills you'll actually use.

Start the course free

First 6 lessons free. No card needed. See plans

Keep going

Continue learning

Unit 2 is next. Get full access

Practice this in the app

Continue learning

Spot an error on this page? Tell us.

First 6 lessons free. No credit card required.

Start the course free
Continue learning

Cookie policy · Privacy policy