Locked lesson.
About this lesson
Basic sorting of row and column headers 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.
Basic Sorting.xlsx189.5 KB Basic Sorting - Completed.xlsx
190.8 KB
Quick reference
Topic
Basic sorting of row and column headers in a PivotTable.
Where/when to use the technique
When you’d like to control the order items are displayed in a PivotTable.
Instructions
Sorting based on row labels
- Right click one of the labels you wish to sort by > Sort
- Choose the order you’d like to sort by:
- Z at the top: Choose Sort Largest to Smallest
- A at the top: Choose Sort Smallest to Largest
- The sort will be applied to all fields that are part of that row label
- Subsequent sorts can be applied to sort within subtotals
Sorting based on column labels
- Right click one of the labels you wish to sort by > Sort
- Choose the order you’d like to sort by:
- Z on the left: Choose Sort Largest to Smallest
- A on the left: Choose Sort Smallest to Largest
- The sort will be applied to all fields that are part of that row label
- Subsequent sorts can be applied to sort within subtotals
Manual sorting
- Drag the row/column fields into the order you’d like to see them
- Be aware that this turns automatic sorting off for that label level (only)
Restoring Automatic Sorting
- Right click the label field that is in manual mode > Sort > More Sort Options
- Change the manual sort to Ascending/Descending as appropriate
- Click OK
Lesson notes are only available for subscribers.