Create a Custom List for Pivot Table Sorting

Usually you sort a pivot table’s items alphabetically, or numerically. Here is our current pivot table, with the regions in alphabetical order.

customlists04

Sometimes you might want another sort order though, such as listing cities or regions in geographical order. In this example, we’d like our company’s regions listed in this order in the pivot table reports – from East to West:

  • East
  • Central
  • West

Creating a Custom List

To show the regions in geographical order, you can create a custom list of regions, in the order in which you want them sorted automatically.

  1. Click the File tab on the Ribbon, then click Options.
  2. In the list of categories, click Advanced, and in the General section, click Edit Custom Lists.
  3. In the Custom Lists dialog box, under Custom Lists, select NEW LIST
  4. Click in the List Entries section, and type the list of regions, in the order that you want them sorted, pressing the Enter key after each item, to separate the list items
  5. Click the Add button to add your list to the Custom Lists area
  6. Click OK twice, to close the dialog boxes.

customlists05

Sorting with a Custom List

After creating a custom list, the custom sort order isn’t automatically applied to fields that are already in the pivot table layout. You’ll refresh the pivot table to apply the custom list sort order:

  1. Right-click any cell in the pivot table, and click Refresh.

The regions are then listed in the custom list order.

If the regions don’t automatically change to the custom list order, the field is probably set for Manual Sort. To change the field to Automatic Sort:

  1. Right-click on one of the region names in the pivot table.
  2. Click Sort, and then click Sort A to Z

customlists06

__________________

2 thoughts on “Create a Custom List for Pivot Table Sorting”

  1. I am working with pvt company as accountant i am looking for some data management with the help of excel as i like it and its good for presentation of MIR – Management Information Report (purpose ). Hence i am looking an help and Guidance for make sum Visual basic program by which i can get & able to give information for Management as and when with click of button and save time in future & get presentation
    Thank you
    Badal Raj Asnani

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.