In this article:

Maximize the Power of your Pivot Tables in Google Sheets by Using Its Various Built-in Functions

Google Sheets’ Pivot Table is a powerful feature that allows the user to condense huge datasets into a few meaningful values that are important in data analysis. Pivot Tables, by default, calculate the SUM of the values in its columns.


In this guide, we will learn how to change the calculated value from SUM to a wide range of functions that are built-in to Google Sheets’ Pivot Table.

Click here to learn how to create a pivot table in Google Sheets.

How to change the Pivot Table column’s function from SUM to a different function

The procedure is straightforward. On the Pivot table editor, look at the list of columns under the Values label. Look for the column that you want to change, then click the drop-down box with the label Summarize by

The listed column under the Values, with the SUM function set for summarizing the values.


List of built-in functions

Listed below are the built-in functions that you can use in the Pivot Table.

A Pivot Table showing columns with SUM, COUNTA, COUNT, COUNTUNIQUE, and PRODUCT functions.


  • AVERAGE: adds all the values, then divides it by the number of values.
  • MIN: searches all the values, then selects the smallest value.
  • MAX: searches all the values, then selects the largest value.
  • MEDIAN: arranges all the values from lowest to highest, then selects the values at the center.


You can check our tutorial on AVERAGE and MEDIAN to learn more about how these functions work. 

A Pivot Table showing columns with AVERAGE, MAX, MIN, and MEDIAN functions.


  • STDEV: calculates the standard deviation of the values, treating it as a sample of a bigger set of values.
  • STDEVP: calculates the standard deviation of the values, treating it as the entire set of values.
  • VAR: calculates the variance of the values, treating it as a sample of a bigger set of values.
  • VARP: calculates the variance of the values, treating it as the entire set of values.


Both the standard deviation and the variance are specialized quantities. Read our tutorial on these quantities to get started. 

A Pivot Table showing columns with STDEV, STDEVP, VAR, and VARP functions.


None of these fit your needs?

If none of the functions listed here give you the quantity that you need, you can program a custom formula to the Pivot Table. Click here to learn how to program a custom formula to the Pivot Table.

Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started