SUM Function in Excel: Add Numbers, Ranges and Whole Columns

SUM Function in Excel: Add Numbers, Ranges and Whole Columns featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 28 September 2026

MathLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Example 3
  6. Power combo
  7. Common errors and fixes
  8. SUM in practice
  9. Where you will use it
  10. Worked example
  11. Mistakes people make
  12. Related functions
  13. Continue learning

SUM adds numbers, cell references and ranges. It ignores text and empty cells, which makes it the safest way to total a column.

Advertisement

Syntax

=SUM(number1, [number2], ...)
Argument What it means
number1 A number, cell or range to add.
number2… Optional: up to 255 more numbers or ranges.

Examples

Example 1

=SUM(B2:B13)

Total of twelve monthly values.

Example 2

=SUM(B2:B13, D2:D13)

Two separate ranges added together.

Example 3

=SUM(Sales[Amount])

Total of a table column β€” keeps working as rows are added.

Power combo

=SUM(Jan:Dec!B5)

A 3D reference: adds cell B5 on every sheet from Jan to Dec β€” a yearly total across monthly sheets.

Common errors and fixes

You see Why, and the fix
Total looks too small Some numbers are stored as text (left-aligned, green triangle). Convert them with Data β†’ Text to Columns β†’ Finish.
#VALUE! Usually from a formula like =A1+A2 with text. SUM ignores text, so switch to SUM.
πŸ’‘ Select the cell below a column and press Alt+= to insert SUM automatically.

SUM in practice

Where you will use it

  • Monthly totals
  • Running balance
  • Totals across sheets (3-D SUM)

Worked example

Running total: the start is locked with $, the end moves down.

DaySalesFormulaResult
Mon18500=SUM($B$2:B2)18500
Tue22100=SUM($B$2:B3)40600
Wed19800=SUM($B$2:B4)60400
Thu25600=SUM($B$2:B5)86000

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Text numbers silently skippedCheck COUNT vs COUNTA
Total row included in the rangeDouble counting; end the range above the total

SUMIF Β· SUMIFS Β· SUBTOTAL Β· SUMPRODUCT

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Math & rounding24 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong