• Home
  • GETPIVOTDATA function

GETPIVOTDATA function

The GETPIVOTDATA function is one of the lookup and reference functions. It is used extract data stored in a PivotTable.

Syntax

GETPIVOTDATA(data_field, pivot_table, [field], [item], …)

The GETPIVOTDATA function has the following arguments:

ArgumentDescription
data_fieldIs used to set the name of the PivotTable field that contains the required data. The argument needs to be in quotes.
pivot_tableIs used to refer to any cell, range of cells, or named range of cells in a PivotTable. The argument is used to determine which PivotTable contains the required data.
field, itemA field/item pair. There are up to 126 pairs of field names and item names that may be used to describe the required data. The pairs can be in any order.
Notes

How to apply the GETPIVOTDATA function.

Examples

The figure below displays the result returned by the GETPIVOTDATA function.

GETPIVOTDATA Function

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags