Enum PivotTableSummarizeFunction

  • PivotTableSummarizeFunction is an enumeration of functions that summarize pivot table data.

  • To call an enum, you use its parent class, name, and property, likeSpreadsheetApp.PivotTableSummarizeFunction.CUSTOM.

  • The enumeration includes properties for various common summary functions such as SUM, AVERAGE, COUNT, and MAX.

  • There is also aCUSTOM property valid for calculated fields.

PivotTableSummarizeFunction

An enumeration of functions that summarize pivot table data.

To call an enum, you call its parent class, name, and property. For example,SpreadsheetApp.PivotTableSummarizeFunction.CUSTOM.

Properties

PropertyTypeDescription
CUSTOMEnumA custom function, this value is only valid for calculated fields.
SUMEnumTheSUM function
COUNTAEnumTheCOUNTA function
COUNTEnumTheCOUNT function
COUNTUNIQUEEnumTheCOUNTUNIQUE function
AVERAGEEnumTheAVERAGE function
MAXEnumTheMAX function
MINEnumTheMIN function
MEDIANEnumTheMEDIAN function
PRODUCTEnumThePRODUCT function
STDEVEnumTheSTDEV function
STDEVPEnumTheSTDEVP function
VAREnumTheVAR function
VARPEnumTheVARP function

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.