Locked lesson.
About this lesson
Use to group different row or column fields together for a more logical display.
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.
Grouping.xlsx195.9 KB Grouping - Completed.xlsx
200.1 KB
Quick reference
Grouping
Grouping fields in PivotTables.
Where/when to use the technique
Use to group different row or column fields together for a more logical display.
Instructions
Create your PivotTable
- Begin by creating a PivotTable with at least 2 row fields and 2 column fields
- Notice that subtotals are automatically added
Grouping dates
- Right-click the desired row or column label and choose Group
- Accept the default start and end dates or override them with your own values
- Select all the grouping levels desired
- Note that you can set your date boundaries to values that do not currently exist in your data set
Grouping numbers
- Right-click the desired row or column label and choose Group
- Accept the default lower and upper boundaries or override them with your own values
- Set the grouping increment
- Note that you can set your lower and upper boundaries to values that do not currently exist in your data set
Grouping selected items
- Select the row or column labels in the Pivot Table that you’d like to group
- Hint: You can select non-contiguous cells by holding the CTRL key as you click them
- Right click the selected cells and choose Group
- You will need to manually group all other cells back together once you’ve grouped your initial selection
- Change the labels by selecting the cell and typing over the generic labels that appear
Un-grouping selected items
- Select the grouped labels in the PivotTable
- Right-click and choose Ungroup
Lesson notes are only available for subscribers.