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
google sheets int function1

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
google sheets floor function1

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
google sheets exp function1

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
google sheets FACT function1

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
google sheets even function1

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 ...

Google Sheets COUNTBLANK Function
google sheets countblank function1

This post will guide you how to use Google Sheets COUNTBLANK function with syntax and examples. Description The Google Sheets COUNTBLANK function use to count the number of empty cells in a range of cells. You can use the COUNTBLANK ...

Google Sheets DEGREES Function
google sheets degrees function1

This post will guide you how to use Google Sheets DEGREES function with syntax and examples. Description The Google Sheets DEGREES function converts radians into degrees. And it will return a numeric value. For examples, if you pass the PI() function into ...

Google Sheets COSH Function
google sheets cosh function1

This post will guide you how to use Google Sheets COSH function with syntax and examples. Description The Google Sheets COSH function returns the hyperbolic cosine of a given angle. The purpose of this function is used to get hyperbolic ...

Google Sheets COS Function
google sheets cos function1

This post will guide you how to use Google Sheets COS function with syntax and examples. Description The Google Sheets COS function returns the cosine of a given angle. If you want to supply an angle to COS function in ...

Google Sheets COMBINA Function
google sheets combina function1

This post will guide you how to use Google Sheets COMBINA function with syntax and examples. Description The Google Sheets COMBINA function returns the number of combinations for a given number of items and it includes repetitions. You can use ...

Sidebar