Adds a series of numbers
Syntax
SUM(number1, [number2, ...])
- number1—The number or range of numbers to add
- number2, ... —[optional]Additional numbers or ranges of numbers to add
Sample usage
SUM(Cost1:Cost5)
Examples
This example references the following sheet information:
Clothing Item | Transaction Total | Units Sold | Price Per Unit | |
---|---|---|---|---|
1 | Clothing Item ![]() | Transaction Total 3,473.00 | Units Sold 337 | Price Per Unit 250.00 |
2 | Clothing Item T-Shirt | Transaction Total 1,170.00 | Units Sold 78 | Price Per Unit 15.00 |
3 | Clothing Item Pants | Transaction Total 1,491.00 | Units Sold 42 | Price Per Unit 35.50 |
4 | Clothing Item Jacket | Transaction Total 812.00 | Units Sold 217 | Price Per Unit 200.00 |
Based on the table above, here are some examples of using SUM in a sheet:
Formula | Description | Result |
---|---|---|
Formula =SUM(12, 45, 72) | Description Sums a series of numbers: 12, 45, and 72. | Result 129 |
Formula =SUM([Transaction Total]:[Transaction Total]) | Description Sums the Transaction Total column, including parent and child rows. | Result 6,946.00 |
Formula =SUM(CHILDREN()) | Description Place it in the parent row to sum the child rows of the Transaction Total column. Rows 2–4 apply. (Row 1 is the parent row.) | Result 3,473.00 |
Formula =IF(SUM([Transaction Total]4)= ([Units Sold]4 * [Price Per Unit]4), "Total Correct" , "Total Incorrect") | Description Returns the string Total correct if the value of row 4 in the Transaction Total column is equal to the product (amount when two numbers are multiplied by each other) of the value in row 4 of Units Sold and Price Per Unit columns. Otherwise, the function returns Total Incorrect. | Result Total Incorrect |
Still need help?
Use the Formula Handbook template to find more support, resources, view 100+ formulas, a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.
Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.