Locked lesson.
About this lesson
Understanding how to create calculated items in a PivotTable.
Lesson versions
Multiple versions of this lesson are available, choose the appropriate version for you:
2016, 2019/365.
Exercise files
Download the ‘before’ and ‘after’ Excel workbooks from the video tutorial and try the lesson yourself.
Calculated Items.xlsx517.2 KB Calculated Items - Completed.xlsx
517.2 KB
Quick reference
Topic
Understanding how to create calculated items in a PivotTable.
Where/when to use the technique
You wish to take explicit control over the groups that show up in your PivotTable.
Instructions
Creating a Calculated Item
- Select a row or column label in your PivotTable
- Excel 2010: PivotTable Tools > Options > Items, Items, & Sets > Calculated Item
- Excel 2013: PivotTable Tools > Analyze > Items, Items, & Sets > Calculated Item
- Type a name for your new Item
- Select the row/column label field on the bottom left
- Construct the formula by double clicking the Items on the right side to set up grouping levels
- Filter the row/column to avoid data duplication by removing the items the calculated item summarizes
Modifying a Calculated Item
- Return to the dialog to create a new calculated Item
- Select your existing Item from the Name drop down
- Make your modifications
- Click Modify
Removing a Calculated Item
- Return to the dialog to create a new calculated Item
- Select your existing Item from the Name drop down
- Click Delete
Key points to remember
- Does not allow for expansion/collapsing like standard grouping
- Does not automatically pull in new categories
- Auditing requires examining the calculation
- Does not factor correctly into subtotals/totals
- Can’t take advantage of PivotTable styles properly as the item is classified as a row, not a total/subtotal
- Requires creating manual subtotal/total highlighting with conditional formatting
Lesson notes are only available for subscribers.