Back to functions
Math & Trig2026-03-1814 related articles

SUM Function in Excel

Add numbers, cell references, and ranges together in a single formula.

Syntax

SUM(number1, [number2], ...)

Arguments

number1

Required

The first number, cell, or range to add.

number2

Optional

Additional numbers, cells, or ranges to include in the total.

What it returns

Returns the total of all included numbers and ranges.

What SUM does

SUM is the standard addition function in Excel. It can total individual numbers, single cells, multiple ranges, or combinations of all three.

Because it is simple and flexible, SUM appears everywhere from quick totals to large financial models.

Practical examples

Add a continuous range

=SUM(B2:B12)

This is the most common use of SUM and is ideal for column totals.

Add separate values and ranges together

=SUM(B2:B10,D2:D10,F2)

SUM can combine non-adjacent inputs cleanly without using multiple plus signs.

Common mistakes and notes

Numbers stored as text

If values look like numbers but are stored as text, SUM may ignore them. Check alignment, formatting, and data import steps when totals seem low.

Double-counting

Be careful when mixing overlapping ranges, such as B2:B10 and B5:B8. Excel adds everything you give it, including duplicates.

SUM is often better than manual addition

=B2+B3+B4+B5 works, but =SUM(B2:B5) is easier to audit and easier to expand later.

Related functions

Related articles

Deep dives, troubleshooting guides, and practical examples that use SUM.

BeginnerFeatures
2023-09-18

Learn How to Add In Excel Using the SUM Function and AUTOSUM

We focus here on the SUM function and AUTOSUM feature, demonstrating how these tools are essential for understanding how to add in Excel....

#math
5 min read
Read Article
FormulasGeneral Updates
2020-05-01

The Data Adds Up: Using the Addition Formula in Excel

In this article you'll learn the basic addition formula for Excel with examples and a how-to guide for entering formulas and using the sum feature....

6 min read
Read Article
General Updates
2019-03-29

Sort Your Life into Neat Little Boxes with These Excel Basics

Jobs nowadays require basic knowledge of Excel. Spark your skills with these excel basics we have on this article that will surely speed up your workflow....

28 min read
Read Article
BeginnerFormulas
2018-06-13

How to Subtract in Excel

Learn how to subtract in Excel with this valuable how-to guide. This article will walk you through each step of the process from start to finish....

#math
6 min read
Read Article
Formulas
2018-06-01

Excel SUM Formula: What Is It And When Do I Use It?

Perhaps one of Excel's best-known functions is the SUM formula. Learn more about a subset of data by totaling rows, columns and more with excel sum formula....

#math
6 min read
Read Article
Formatting
2018-03-30

How to Add Cells in Excel to Sum Up Totals Automatically

Excel's great for displaying data and even better at crunching numbers. Here's how to add cells in Excel to sum up totals automatically... Even when you change the numbers....

#excel-legacy#excel-for-mac#formulas
5 min read
Read Article
FormattingFormulas
2018-03-27

How to Use the SUMIF and SUMIFS Functions in Excel

Lessen the time it takes to compute complex equations with the SUMIF and SUMIFS functions on MS Excel. This update may be just what you've been waiting for. Follow this in-depth, easy-to-follow guide to get started...

#criteria#formulas#functions#math
5 min read
Read Article
FeaturesIntermediate
2011-04-18

Total Row Formulas in Excel Tables

Excel Tables have a Total Row that can be toggled on and off from the Ribbon. Several functions are available when the Total Row is turned on. In Excel 2010 and...

4 min read
Read Article
Intermediate
2011-04-13

Formulas and Structured Data in Excel Tables

Tables automatically extend formulas when data is entered. If a formula is changed in a Table cell, all rows in the column are automatically modified....

4 min read
Read Article
FeaturesIntermediate
2011-04-07

Excel Tables - Styles, Conditional Formatting and Data Validation

Format Excel Tables with Table Styles, Conditional Formatting, and Data Validation. Turn off worksheet gridlines to make the Table more distinctive....

8 min read
Read Article
BeginnerFormulas
2010-11-22

Convert Seconds with the TIME Function in Excel

An iTunes playlist download shows time in seconds. Convert these seconds with the TIME Function in Excel and some custom formatting....

2 min read
Read Article
AdvancedFormulas
2010-11-13

Single-Cell Array Formula in Excel

The Evaluate Formula dialog box shows interim calculations for single-cell array formulas to reveal array values Excel holds in internal memory....

#arrays
4 min read
Read Article
BeginnerFormulas
2010-08-24

Using the SUM Function for a Running Total in Excel

Using the SUM Function in Excel to provide a running total time for song duration....

2 min read
Read Article
FormulasIntermediate
2010-08-12

iTunes Playlist Export Task – Convert Seconds to a Time Format

Converting seconds to a minutes:seconds time format requires several formulas....

1 min read
Read Article

Official documentation