Sum function

Gets the sum of all elements in a data field


Description

The Sum function calculates the sum of all elements in a data field. The data field can be a list, a table or a multidimensional array.

Instead of the function, the Greek letter Σ can also be used.


Syntax

Sum (list)

Sum (table)

Examples

Sum([9,7,2,8,12,3,5])=46