Excel SUM Formula

Adds all values. Returns 0 if given no values.

Syntax

Formula structure

Source: Quadratic docs
=SUM([numbers...])
[numbers...]
Required: No

Optional repeating values to add. Pass numbers, cell references, arrays, or ranges. Quadratic returns 0 if no values are supplied.

Examples for the excel sum formula

Copy these examples into a spreadsheet and adjust the ranges for your own data.

Add one range

=SUM(A2:A10)

Adds every numeric value from A2 through A10.

Add multiple ranges

=SUM(A2:A10, C2:C10)

Adds two non-adjacent ranges in one formula.

Mix cells, ranges, and numbers

=SUM(A2:A10, C2, 25)

Adds a range, one specific cell, and a fixed number.

When to use SUM

Use SUM when you need to add all values. SUM returns 0 if given no values.

  • Build totals, rounded metrics, and numeric calculations.
  • Clean up numeric inputs before analysis.

How SUM works in Quadratic

In Quadratic, SUM follows the syntax SUM([numbers...]). The function works inside Quadratic formulas and can be combined with spreadsheet ranges, tables, and other formulas.

Common SUM mistakes

Most SUM issues come from mismatched argument types, ranges that do not cover the intended data, or optional parameters being omitted when the default behavior is not what you expected.

  • Check each required parameter before copying the formula across a sheet.
  • Confirm that ranges line up with the rows or columns you intend to analyze.
  • Use Quadratic AI to explain or debug the formula when the result looks wrong.

Related formulas

SUM formula FAQ

What does the excel sum formula do?

SUM adds all values. Returns 0 if given no values.

What is the syntax for SUM?

The syntax is SUM([numbers...]). Required and optional parameters are listed at the top of this guide.

Can Quadratic AI help with SUM?

Yes. Quadratic AI can write a SUM formula, explain existing formula logic, or help debug broken references and unexpected results.

Quadratic AI

Struggling with formulas? Use Quadratic AI.

Spreadsheet formulas are powerful, but they get painful fast. A SUM formula can start simple, then turn into logic that is hard to understand, easy to break, and difficult to share with the rest of your team.

Quadratic AI helps you write formulas, explain formula logic, debug broken references, and move beyond formulas when advanced analysis needs Python, SQL, charts, or connected data.

Try Quadratic AI

Why formulas slow teams down

  • Long formulas become hard to read, understand, and trust.
  • Formula logic breaks when rows, columns, or assumptions change.
  • Manual updates make dashboards and reports fragile over time.
  • Complex formulas are difficult to explain, review, and share with teammates.
  • Advanced analysis quickly outgrows formula-only workflows.