This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
SUM
|
SUM ( value {, value2 , ... , valueN} ) | ||||||||
Parameter | Type | Description | ||||||
value | Number, CellRef |
![]() |
Number(s) to be added together | |||||
The SUM function returns the sum of cells or range of cells.
In value, pass the values to evaluate. Each argument can be a number, or an array of numbers (a single array (cell range) or multiple arrays (cell ranges)).
Note: The + operator provides an auto-conversion for non-numeric values passed by constant and for non-numeric values passed by reference. The SUM function provides an auto-conversion for non-numeric values passed by constant but, ignores non-numeric values passed by reference.
SUM(A1,B7,C11) SUM(A1:A9)
SUM(A2:A14,B2:B18,D12:D30)
SUM(95,89,73,87,85,76,100,96,96) //797
Product: 4D
Theme: 4D View Pro Formulas
4D View Pro Reference ( 4D v19)