TotalsCalculation

TotalsCalculation

Overview

TotalsCalculation is a enum in Aspose.Cells FOSS for Java.

Aggregation function applied to a table’s totals row.

This enumeration defines 10 values: NONE, SUM, COUNT, AVERAGE, MAX, MIN, STD_DEV, VAR, COUNT_NUMS, CUSTOM.

Description

TotalsCalculation is an enumeration type in the Aspose.Cells FOSS library for Java. It defines a set of named constants that control behavior or specify options within the API. Enumerations like TotalsCalculation help ensure type safety by restricting values to a predefined set.

Values

ValueDescription
NONENo totals row calculation.
SUMCalculates the sum of values in the column.
COUNTCounts the number of non-empty cells in the column.
AVERAGECalculates the average of values in the column.
MAXReturns the maximum value in the column.
MINReturns the minimum value in the column.
STD_DEVCalculates the standard deviation of values in the column.
VARCalculates the variance of values in the column.
COUNT_NUMSCounts the number of numeric cells in the column.
CUSTOMUses a custom formula for the totals row.

See Also