The SUM function is a built-in function in Microsoft Excel (and in other spreadsheet programs) that adds up a range of numbers in a column, row, or array. The SUM function can be used to quickly calculate the total of a range of values, without having to manually add them up.