Skip to content

Available functions in Table Total

Table Total supports the following functions for calculating subtotals. Each function corresponds to a standard Google Sheets SUBTOTAL function code.

FunctionDescriptionBest used for
SUMSum of all values in the groupSales totals, revenue, quantities
AVERAGEArithmetic mean of all valuesScores, ratings, averages
COUNTCount of cells containing numbersCounting numeric entries
COUNTACount of all non-empty cellsCounting any non-blank entries
MAXLargest value in the groupFinding peaks, highest scores
MINSmallest value in the groupFinding minimums, lowest prices
PRODUCTProduct of all valuesCompound factors, multiplications
STDEVSample standard deviationStatistical spread in a sample
STDEVPPopulation standard deviationStatistical spread of a full population
VARSample varianceVariance in a sample
VARPPopulation varianceVariance of a full population
  • SUM — the most common choice for numeric data like sales, costs, or units.
  • AVERAGE — useful when you need the mean value per group rather than the total.
  • COUNT / COUNTA — use COUNT for numbers only, COUNTA for any non-empty cell.
  • MAX / MIN — use to quickly find the highest or lowest value in each group.
  • STDEV / VAR — use for statistical analysis of data distribution within groups.

Table Total inserts formulas in the form:

=SUBTOTAL(fnCode, range)

Where fnCode is a number corresponding to the function:

CodeFunction
1AVERAGE
2COUNT
3COUNTA
4MAX
5MIN
6PRODUCT
7STDEV
8STDEVP
9SUM
10VAR
11VARP

This means the inserted formulas are native Google Sheets formulas — they remain fully functional even if you uninstall the add-on.