Excel SUM Function

SUM adds numeric values from the numbers, cells, or ranges you provide.

Use it for straightforward totals, such as monthly revenue, total units, payroll hours, budgets, or any numeric column that needs to be added.

1
Select values Use cells, ranges, or constants
2
Add numeric entries Text and blanks are skipped
3
Return the total Excel outputs the sum

SUM syntax & arguments

Syntax

=SUM(number1, [number2], ...)
Required Optional
  1. 1

    number1

    Required

    The first number, cell reference, or range to add.

  2. 2

    number2

    Optional Repeatable

    Additional numbers, cell references, or ranges to add.

Example

=SUM(F2:F30)

Add all numeric values in F2:F30.

SUM caveats

SUM is often the first function people learn, but real workbooks still have traps around data types and formatted values.

  • Text values are ignored

    Numbers stored as text are not added when they are inside referenced cells.

  • Errors stop the total

    If a referenced cell contains an error, SUM returns an error instead of a partial total.

  • Dates and times are numbers

    Adding cells formatted as dates or times can produce serial-number totals that look surprising.

Need a conditional total? Use SUMIF or SUMIFS when only rows that match a condition should contribute to the result.

Intro SUM practice problem

Solve the intro problem directly here, or open it on its own page.

Open full problem

Advanced SUM practice problems

Use SUM alongside other Excel functions in realistic, less-prescriptive challenges.