ExcelUnpackUnpack Excel, one formula at a time.
Log inSign up

Lesson 11 · Adding with SUM

SUM and ranges in Excel

SUM adds up a whole range of cells in one short formula. =SUM(B2:B5) adds B2, B3, B4 and B5. It is the most used function in Excel.

Practice this lesson →Pro lesson. The first 4 lessons are free.

What you will learn

  • Write a range, like B2:D2
  • Add a range with SUM
  • Copy a formula to the right

How it works

A range is a group of cells next to each other. B2:D2 means B2, C2 and D2. The colon : means "through."

SUM adds up every number in a range. It skips words and empty cells.

Formulas at a glance

=SUM(B2:D2)add a range
=SUM(B2:B5, D2)ranges and cells, separated by commas

Example

Write the formula to add up Rent for Jan, Feb and Mar.

ABCDE
1CategoryJanFebMarTotal
2Rent$1,800.00$1,800.00$1,800.00
3Food$420.00$465.00$398.00
4Transit$96.00$110.00$88.00
5Utilities$140.00$162.00$151.00
6Total

Click E2 and type =SUM(B2:D2), then press Enter.

The answer is $5,400.00.

When to use it

  • Totals for a column of prices, hours or sales
  • Adding up a row of months
  • Any total where typing + between every cell would be slow

Common mistakes

  • Typing =B2+B3+B4+B5+…Use =SUM(B2:B5). It is shorter and easier to check.
  • Including the total cell in its own rangeThat makes a circular reference. Stop the range just above the total.
  • Numbers stored as textSUM skips text. If a number is lined up on the left, it may be text.

Quick check

How many cells are in B2:B5?

  1. 2
  2. 3
  3. 4
  4. 5
Show the answer

C. 4 B2, B3, B4 and B5. That's 4.

Practice it on a real sheet

Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.

SUM and ranges in Excel: how it works, with examples · ExcelUnpack