How to Pivot Table Calculated Field in Microsoft Excel

In this article we will learn how to add a calculated field in Excel.

“PIVOT TABLE” is used for summarizing a large amount of data without using any formulas, it makes the data easy to read with flexibility.

Let’s take an example to understand how to add a calculated field in PIVOT TABLE

I have a “PIVOT TABLE” where Column A contains the products, column B sum of total revenue and column C the net revenue. I need to show the expenses amount in the “PIVOT TABLE”. To add the data field in the “PIVOT TABLE”follow the below mentioned steps:-

 

img1

 

    • Select a cell in the “PivotTable” report, and from the “PivotTable” toolbar, click onthe PivotTable icon, the contextual menu in the ribbons will get activated.
    • Go to the “Analyze” tab, in the “Calculations” group, select “Calculated Field” fromthe “Field, Items & Sets” drop down list.
    • The dialog box will appeared, type “Expenses Amount”as the name of the new field in the “Name” box.

 

img2

 

  • In the “Field” box select “Total Revenue” and click on “Insert Field” type the minus (-) sign in the “Formula” tab. You can also double click on the items in the Fields box and it will directly appear in the Formula box.
  • Select “Net Revenue” from the “Field” box and click on “Insert Field”.
  • Click on ok.

 

img3

 

Conclusion:- You can add your own calculation in PivotTable as per the requirement.

 

image 48

 

For more Example of Pivot Table refer below links:-

Apply conditional formatting in PivotTable

How to insert calculated field

Grouping Text fields in PivotTable

 

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

 

Comments

  1. Hi
    When I insert formula in calculated field A - B, A is task end time, B is task start time. But showing zero in added field in pivot table.

Leave a Reply

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

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.