Locked lesson.
About this lesson
More advanced PivotTable Tips and Tricks to supercharge your analysis skills.
Exercise files
Download this lesson’s related exercise files.
06-03-Advanced Pivot Table Tips and Tricks Part2-Start.xlsx690.8 KB 06-03-Advanced Pivot Table Tips and Tricks Part 2-Complete.xlsx
982.5 KB 6.03 advanced-pivot-table-tips-and-tricks-part2 - Exercise.docx
53.3 KB 6.03 advanced-pivot-table-tips-and-tricks-part2 - Exercise solution.docx
104.4 KB Exercise - Advanced PivotTable Tips and Tricks - Part2.xlsx
110.4 KB Exercise Solution - Advanced PivotTable Tips and Tricks -Part2.xlsx
112.3 KB
Quick reference
Advanced Pivot Table Tips and Tricks - Part 2
Learn continue to look at some advanced PivotTable Tips and Tricks.
When to use
We use the advanced features of PivotTables whenever we want to supercharge our analysis.
Instructions
Calculated Fields
Calculated Fields allow us to perform calculations in the PivotTable using existing PivotTable fields.
- Remove the Sales Channel field from the Columns area.
- Add the Total Revenue field to the Values area and format the numbers.
In this example, we are going to create a calculated field that calculates total revenue when a 20% sales tax has been added.
- Click anywhere in the 'Sum of Total Revenue' column.
- From the PivotTable Analyze tab, in the Calculations group, click Fields, Items & Sets.
We can use the fields at the bottom to construct a calculation.
- Click in the name field.
- Name the field 'Rev + Tax'.
- Click in the Formula field.
- From the Fields area, double-click on Total Revenue.
- Type *20%
This calculation will give us the total tax amount only. If we want to see the total revenue including the tax we need to add the total revenue on. Remember to include brackets so Excel knows what to calculate first.
We now have a new calculated column.
Add a Slicer
Slicers are visual filters. They provide an easy way for users to filter PivotTable data.
- Click anywhere in the dataset.
- From the PivotTable Analyze tab, in the Filter group, click Insert Slicer.
- Select 'Region' and 'Order Priority' from the list.
- Click OK.
Format the Slicers
We can apply formatting to the slicers.
Change the slicer layout
By default, slicers list items vertically. We can change this to horizontal.
- Click on the slicer.
- From the Slicer tab, in the Buttons group, increase the number of columns to 7.
- Resize the slicer.
- Repeat this process for the other slicer.
- Place both slicers at the top of the worksheet above the PivotTable.
Work with Pivot Charts
We can visualize our PivotTable data using a Pivot Chart.
- Remove all PivotTable fields except 'Country' and 'Sum of Total Cost'
Pivot Charts look best when they are showing a refined, smaller dataset. Currently, we have too much data to display.
Apply a Top 10 Filter
- Click in the PivotTable.
- Right-click and select Filter.
- Choose Top 10 from the list.
- Show the Top 5 Items.
- Click OK.
Insert a Pivot Chart
- Click in the PivotTable.
- From the PivotTable Analyze tab, in the Tools group, click Pivot Chart.
- Choose Column from the list.
- Select the Clustered Column Chart.
Update Pivot Data
The beauty of PivotTables and Pivot Charts is that they are easy to update when new data is added to the source.
- Go to the 'New_Data' worksheet.
- Press CTRL+A to copy the data.
- Go to the 'Source' worksheet.
- Press CTRL+down arrow to jump to the bottom.
- Press CTRL+V to paste the data.
The Excel table will auto-expand to accommodate the new data. We can now update our PivotTable and Pivot Chart with one click.
- Click on the PivotTable or the Pivot Chart.
- From the PivotTable Analyze tab, in the Data group, click Refresh and Refresh All.
Lesson notes are only available for subscribers.