Locked lesson.
About this lesson
Creating custom sort orders for 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.
Custom Sorting.xlsx198.8 KB Custom Sorting - Completed.xlsx
198.8 KB
Quick reference
Custom Sorting
Creating custom sort orders for a PivotTable.
Where/when to use the technique
When you have data that needs to be sorted in an order other than ascending/descending.
Instructions
Creating a custom list
- Go to File > Options > Advanced > General > Edit Custom Lists
- Select NEW LIST
- To create a manual list
- Type in your values manually, one per line
- To import a list
- Click in the Import list from cells box
- Click the grid picture
- Select your list
- Click Import
- Click OK to return to Excel
- Refresh the PivotTable
Caveats
- Custom lists are user and computer specific!
- If your recipient doesn’t have the same list set up, it will un-sort upon refresh!
Ignoring custom lists
- Right click the PivotTable > PivotTable Options > Totals & Filters
- Uncheck the checkbox next to Use Custom Lists when sorting
Removing a custom list
- Go to File > Options > Advanced > General > Edit Custom Lists
- Select the list you wish to remove
- Click Delete
- Click OK to return to Excel
- Refresh the PivotTable
Lesson notes are only available for subscribers.