Google Sheets GETPIVOTDATA Function

This post will guide you how to use Google Sheets GETPIVOTDATA function with syntax and examples.

Description


The Google Sheets GETPIVOTDATA function extracts specific data from a pivot table corresponds to the specified row and column name.

The GETPIVOTDATA function can be used to retrieve an aggregated value from a given pivot table by row or column name in google sheets. The purpose of this function is to extract data from a pivot table and the returned value is the data the you requested.

The GETPIVOTDATA function is a build-in function in Google Sheets and it is categorized as a Lookup function.

Syntax


The syntax of the GETPIVOTDATA function is as below:

=GETPIVOTDATA(value_name, any_pivot_table_cell, [original_column, …], [pivot_item, …])

Where the GETPIVOTDATA function arguments are:

  • Value_name -This is a required argument. The name of the value in the pivot table
  • Any_pivot_table_cell – This is a required argument. A reference to a cell in the desired pivot table.
  • Original_columnThis is an optional argument. The name of the column in the pivot table.
  • Pivot_itemThis is an optional argument. The name of the row or column shown in the pivot table corresponding to Original_column that you want to get.

Note: 

  • Value_name must be enclosed in quotation marks or a cell reference to any cell that containing the text.

Google Sheets GETPIVOTDATA Function Examples


The below examples will show you how to use google sheets GETPIVOTDATA Function to retrieve data from a pivot table.

#1 Assuming that you have a pivot table in your google sheets, and you wish to get total sales from it, you can use the following GETPIVOTDATA function:

=GETPIVOTDATA(A16,A17)

google sheets getpivotdata function1

Related Posts

Google Sheets INT Function

This post will guide you how to use Google Sheets INT function with syntax and examples. Description The Google Sheets INT function returns the integer portion of a given number. And it will round a given number down to the ...

Google Sheets FLOOR Function

This post will guide you how to use Google Sheets FLOOR function with syntax and examples. Description The Google Sheets FLOOR function returns a number rounded down to the nearest multiple of significance. So it will return a rounded number. ...

Google Sheets EXP Function

This post will guide you how to use Google Sheets EXP function with syntax and examples. Description The Google Sheets EXP function returns e raised to the power of a number.  The constant e is equal to 2.71828182845904, and it ...

Google Sheets FACT Function

This post will guide you how to use Google Sheets FACT function with syntax and examples. Description The Google Sheets FACT function returns the factorial of a given number.  The factorial of a given number is equal to 1*2*3…* number. ...

Google Sheets EVEN Function

This post will guide you how to use Google Sheets EVEN function with syntax and examples. Description The Google Sheets EVEN function rounds a given number up to the nearest even integer. You can use the EVEN function to return ...

Sidebar