CellsSubtotal Method (CellArea, Int32, ConsolidationFunction, Int32)

Creates subtotals for the range.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.5.0.0 (21.5)
Syntax
public void Subtotal(
	CellArea ca,
	int groupBy,
	ConsolidationFunction function,
	int[] totalList
)

Parameters

ca
Type: Aspose.CellsCellArea
The range
groupBy
Type: SystemInt32
The field to group by, as a zero-based integer offset
function
Type: Aspose.CellsConsolidationFunction
The subtotal function.
totalList
Type: SystemInt32
An array of zero-based field offsets, indicating the fields to which the subtotals are added.
See Also