Pivot Table Calculated Field & Formula

How To Add A Calculated Field In Pivot Table?

Below are the examples of Pivot Table Calculated Field and how to insert formulas on other pivot fields.

  1. Select the data that is to be used in a Pivot table.

    Pivot Table Formula Example 1

  2. Go to the ribbon and select the “Insert” Tab. From the Insert tab, choose to insert a “Pivot Table.”

    Pivot Table Formula Example 1-1

  3. Select the Pivot Table Fields such as Salesperson to the Rows and Q1, Q2, Q3, Q4 sales to the Values.

    Pivot Table Formula Example 1-4

    Now the Pivot Table is ready.

    Pivot Table Formula Example 1-5

  4. After the pivot table is inserted, then go to the “Analyse tab” that will be present only if the pivot table is selected.

    Pivot Table Formula Example 1-2

  5. From the “Analyze tab,” choose the option of “Fields, Items Sets” and select the “Calculated fields” of the Pivot Table.

    Pivot Table Formula Example 1-3

  6. From the option of Calculated Field in the Pivot Table, Insert the formula as required in the case.

    Example 1-6

    Here we have formulated a formula that will calculate the .05% commission on sales.

    Example 1-7

Using Manual Reference of Cell in the Pivot Table Formula

If we have to give a reference of cell in a formula that we can type the location as shown below.

Example 2

Using GetPivotTable Function to give Reference of a Cell to a Formula

We can also choose not to enter the location of the cell manually; in this case, we can choose to insert the location by using the keyboard instead of a mouse.

This type of location (GetpivotDataGetpivotDataThe GetPivotData function in Excel is a query function that fetches values from a pivot table based on specific criteria such as the pivot table's structure or the reference provided to the function.read more) is inserted if we select the location instead of typing the location of the cell manually.

Example 3

Switching off the “GetPivot” table Function in a Pivot Table to have a Clean Formula

We can always choose to switch off the “Getpivotdata” function by going to the analyze tab and selecting the dropdown.

Example 4-1
Example 4-2

Here we need to turn off the “generate GETPIVOTDATA” option, and we can simply use the formulas in the pivot table as we do in a case of simple range.

You can download this Pivot Table Calculated Field Excel template here – Pivot Table Calculated Field Excel template

Things to Remember

Recommended Articles

This has been a guide to Pivot Table Calculated Field.  Here we discuss the use of use formulas in the Pivot table using calculated field along with practical examples and downloadable excel template. You may learn more about excel from the following articles –

  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *