What it does
SUM adds numbers together.
Syntax or pattern
=SUM(number1, [number2], ...)5 practical examples
Add a column of values
Total sales values in a range.
=SUM(B2:B100)The basic total formula for reports.
Add table column
Total a structured table column.
=SUM(Sales[Amount])Structured references expand with the table.
Add separate ranges
Total several non-adjacent ranges.
=SUM(B2:B10,D2:D10,F2:F10)Separate ranges with commas.
Sum only visible rows
Use SUBTOTAL when filtered rows matter.
=SUBTOTAL(109,B2:B100)Function 109 ignores filtered-out rows.
Add monthly totals
Sum Jan to Dec columns for one row.
=SUM(B2:M2)Useful for row totals.
Common mistakes to avoid
- Selecting ranges with different sizes.
- Using text values where numbers are required.
- Forgetting how blanks and hidden rows are treated.
Related Excel examples
FAQ
Can this formula use Excel Tables?
Yes. Structured references often make summary formulas easier to read.
Here are some ideas for you
Optional resources that may help if you are learning formulas, building reports, or working in spreadsheets often.
- Excel formula booksSee ideas
Practice formulas with structured examples you can keep beside your desk.
- Excel shortcut guidesSee ideas
Build speed with keyboard shortcuts for selection, formatting and navigation.
- Numeric keypadsSee ideas
Helpful if you enter many numbers on a laptop or compact keyboard.
- External monitorsSee ideas
Useful for viewing large worksheets, formulas and reference tables side by side.
- Desk notebooksSee ideas
Sketch formula logic, report ideas and table structures before building.
- Laptop standsSee ideas
Make long spreadsheet sessions more comfortable and ergonomic.
Some links in this section may be affiliate links. Choose only what is useful for your own work.