Skip to content

Lessons in your language are coming soon. Formulas already work in your Excel language.

This page isn't translated yet, so its text is in English. Function names and formulas are shown in your Excel language.

Excel function · Adding up

SUM

Adds up numbers, cells and ranges.

What it does

SUM adds everything you give it: single cells, whole ranges or plain numbers. Text and empty cells inside a range are skipped, so a column with a header or a gap still adds up correctly.

Syntax

=SUM(number1, [number2], …)

Arguments in square brackets are optional, and … means you can add more of the same. In this Excel language, arguments are separated by ,

Arguments

number
The first thing to add: a range such as B2:B4, a single cell or a number. Add more arguments to put other ranges into the same total.

Example

A short trip has three costs. What does it cost in total?

AB
1ItemCost
2Train120
3Hotel240
4Food85
5Total445

The formula in B5:

=SUM(B2:B4)

Result: 445

The range B2:B4 holds 120, 240 and 85, and 120 + 240 + 85 = 445. The header in row 1 and the label in A5 are outside the range, so they don't get in the way.

Common mistakes

  • Including the total's own cell in the range, for example =SUM(B2:B5) typed in B5. Excel warns about a circular reference instead of giving a total.
  • Numbers stored as text, often from pasted data, are skipped. If a total looks too small, check for values that sit on the left of their cells.
  • Adding the cells one by one with + and then inserting a row. A range like B2:B4 grows with inserted rows; a list of single cells doesn't.

In other Excel languages

Excel translates function names, and in some languages the argument separator too. Type the name your Excel shows.

Excel languageFunction nameSeparator
EnglishSUM,
DeutschSUMME;
FrançaisSOMME;
Español (España)SUMA;
Español (México)SUMA,
日本語SUM,
한국어SUM,
繁體中文SUM,
ไทยSUM,
ខ្មែរSUM,
Tiếng ViệtSUM;

Practise it

More from this module

All functions