Math & Trig
All versions
◉ 39 views
=SUM()
How to use the SUM function in Excel to add individual values, cell references, ranges, or a mix of all three.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=SUM(number1,[number2],...)
Hover argument names in the table for details.
Output typeNumber
Popularity100 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =SUM() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
number1 |
Any type | Required | The first number you want to add. The number can be like 4, a cell reference like B6, or a cell range like B2:B8. |
number2-255 |
Number | Optional | This is the second number you want to add. You can specify up to 255 numbers in this way. |
▣ Examples
Example 1
=SUM(A2:A10) Adds the values in cells A2:10.
Example 2
=SUM(A2:A10, C2:C10) Adds the values in cells A2:10, as well as cells C2:C10.
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!