[]
Calculates aggregate statistics for a cell range.
public virtual decimal GetAggregate(Aggregate aggregate, CellRange rng)
| Type | Name | Description |
|---|---|---|
| Aggregate | aggregate | Aggregate value that specifies the type of aggregate to calculate. |
| CellRange | rng | CellRange object that contains the values to be aggregated. |
| Type | Description |
|---|---|
| decimal | A decimal value that represents the aggregate. |
Cells in invisible rows and columns are included in the aggregate calculations; cells in group rows are not.