Sum
Sum
is a mathematical function that returns the summation of a group of numeric values, rows, columns, or cells.
Syntax:
Sum(arguments)
where arguments
is one or more of the following values:
Argument | Description |
---|---|
numeric |
A numeric value. For example, Numeric values can include decimals and negative values. See Numeric Arguments. |
row, column, or cell referenc |
A pointer to a row, column, or cell within a grid. You can specify references in several ways. The reference syntax is: |
function |
An embedded function. |
Examples:
Return the value 30:
sum(10,20)
Return the sum of three rows:
sum(row[1],row[6],row[8])
Calculate the sum of three aggregate columns:
sum(column[E], column[G], column[I])
Calculate the sum of two columns that are located on different grids:
sum(grid1.col[E],grid2.colmn[E])