Here we are going to learn about how we can add fields to an existing pivot table without disturbing the previous data in the table.
Need of Adding Fields
The need of adding fields in the pivot table may vary. It could be done to:
- Calculate bonuses.
- To find the difference and sum of values.
- To evaluate performances between two times or employees
- To calculate the percentage of values/amounts and so on.
Example 1
Figure 1
Here we are going to add a field in the pivot table that already exists in the “Pivot Table Field List”.
The table here has 3 out of 4 fields of data. To add the forth one in the table:
- Click on the table for the field list.
- Select the field “Salesperson” and it’ll appear in the “Row Labels” column.
- We’ll carry it to other columns one by one with a left click to decide where the added field suits the best.
Figure 2
We have placed the field in the “Values” column.
Excel automatically added it to the pivot table showing the total of males and females in front of their sales for 5 days.
The chart also changes according to the new addition in the table.
Example 2
Figure 3
To insert a new or customized calculated field to calculate the bonus of employees depending on their sales:
- Select a cell in the Pivot table and click on “Options/Analyze” tab.
- Click on “Calculations/Formlas” in the “Tools” section and select “Calculated Field”.
- A small window will appear. Write name of the field and click “Add”.
- Then write the formula according to the new field’s requirement.
- Here we have written =Amount of sales*4% as we want to calculate 4% bonus on sales.
(Simply select “Amount of Sales” from the fields to add it in the formula bar)
On clicking OK, we’ll get a new field of “Sum of Bonus” as seen in the picture given below.
Figure 4
Visualization of the new field can also be seen in the chart.
The new field can be removed easily by a right click on any cell of the field and clicking the option “Remove Sum of Bonus”.
Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.
Leave a Comment