Data/Matrix Editor 535
Using the CumSum Function
Using the CumSum FunctionUsing the CumSum Function
Using the CumSum Function
The
cumSum function returns a cumulative sum of the elements in a base column. Use
† to define a column header with the syntax:
For example:
Note: To enter cumSum, type it, select it from the CATALOG, or press 2 I and
select it from the List submenu.
Sorting Columns
Sorting ColumnsSorting Columns
Sorting Columns
After entering information in a data, list, or matrix variable, you can easily sort a specified
column in numeric or alphabetical order. You can also sort all columns as a whole, based
on a “key” column.
cumSum (column)
Column used as the base for the cumulative sum.
1+2
1+2+3+4
c2=cumSum(c1)