Enum PivotTableSummarizeFunction
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
数据透视表汇总函数
用于汇总数据透视表数据的函数的枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.PivotTableSummarizeFunction.CUSTOM
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003ePivotTableSummarizeFunction\u003c/code\u003e is an enumeration of functions used to summarize data within Google Sheets pivot tables.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to common aggregation functions like \u003ccode\u003eSUM\u003c/code\u003e, \u003ccode\u003eAVERAGE\u003c/code\u003e, \u003ccode\u003eCOUNT\u003c/code\u003e, \u003ccode\u003eMAX\u003c/code\u003e, \u003ccode\u003eMIN\u003c/code\u003e, and more for summarizing pivot table data.\u003c/p\u003e\n"],["\u003cp\u003eTo use a function, call it using the parent class, name, and property, such as \u003ccode\u003eSpreadsheetApp.PivotTableSummarizeFunction.SUM\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIncludes a \u003ccode\u003eCUSTOM\u003c/code\u003e property for using custom functions within calculated fields in pivot tables.\u003c/p\u003e\n"]]],["`PivotTableSummarizeFunction` enumerates functions for summarizing pivot table data. These functions, accessed via `SpreadsheetApp.PivotTableSummarizeFunction`, include: `CUSTOM` (for calculated fields), `SUM`, `COUNTA`, `COUNT`, `COUNTUNIQUE`, `AVERAGE`, `MAX`, `MIN`, `MEDIAN`, `PRODUCT`, `STDEV`, `STDEVP`, `VAR`, and `VARP`. Each function corresponds to a specific Google Sheets formula, allowing for diverse data aggregation within pivot tables. Each property's type is `Enum`.\n"],null,["# Enum PivotTableSummarizeFunction\n\nPivotTableSummarizeFunction\n\nAn enumeration of functions that summarize pivot table data.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.PivotTableSummarizeFunction.CUSTOM`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|----------------------------------------------------------------------------|\n| `CUSTOM` | `Enum` | A custom function, this value is only valid for calculated fields. |\n| `SUM` | `Enum` | The [SUM](https://support.google.com/docs/answer/3093669) function |\n| `COUNTA` | `Enum` | The [COUNTA](https://support.google.com/docs/answer/3093991) function |\n| `COUNT` | `Enum` | The [COUNT](https://support.google.com/docs/answer/3093620) function |\n| `COUNTUNIQUE` | `Enum` | The [COUNTUNIQUE](https://support.google.com/docs/answer/3093405) function |\n| `AVERAGE` | `Enum` | The [AVERAGE](https://support.google.com/docs/answer/3093615) function |\n| `MAX` | `Enum` | The [MAX](https://support.google.com/docs/answer/3094013) function |\n| `MIN` | `Enum` | The [MIN](https://support.google.com/docs/answer/3094017) function |\n| `MEDIAN` | `Enum` | The [MEDIAN](https://support.google.com/docs/answer/3094025) function |\n| `PRODUCT` | `Enum` | The [PRODUCT](https://support.google.com/docs/answer/3093502) function |\n| `STDEV` | `Enum` | The [STDEV](https://support.google.com/docs/answer/3094054) function |\n| `STDEVP` | `Enum` | The [STDEVP](https://support.google.com/docs/answer/3094105) function |\n| `VAR` | `Enum` | The [VAR](https://support.google.com/docs/answer/3094063) function |\n| `VARP` | `Enum` | The [VARP](https://support.google.com/docs/answer/3094113) function |"]]