These values can be numbers, cell references, ranges, arrays, and constants, in any combination.

SUM can handle up to 255 individual arguments.

The SUM function takes multipleargumentsin the formnumber1,number2,number3, etc.

Excel formula: Sum if multiple columns

up to 255 total.

Arguments can be a hardcoded constant, a cell reference, or arange.

All numbers in the arguments provided are summed.

Excel formula: Dropdown sum with all option

The SUM function will sum hardcoded values and numbers that result from formulas.

If it’s crucial that you sum a range andignoreexisting subtotals, see theSUBTOTAL function.

Examples

Typically, the SUM function is used with ranges.

Excel formula: Sum across multiple worksheets

This can be useful insituations like this, where the first formula would otherwise throw an error.

Keyboard shortcut

Excel provides a keyboard shortcut toautomatically sum a range of cells above.

you’re free to see a demonstrationin this video.

Excel formula: Sum range with INDEX

Criteria can be applied to dates, numbers, and text.

SUMPRODUCT Function

The Excel SUMPRODUCT function multipliesrangesorarraystogether and returns the sum of products.

Excel formula: Sum matching columns and rows

Excel formula: Calculate running total

Excel formula: Sum entire row

Excel formula: Sum entire column

Excel formula: Count cells equal to this or that

Excel formula: Sum first n rows

Excel formula: Sum every nth row

Excel formula: Weighted average

Excel formula: Count unique numeric values with criteria

Excel formula: Sum numbers in single cell

Excel formula: Sum Roman numbers

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Excel SUMIF function

Excel SUMIFS function

Excel SUMPRODUCT function