Learn how to create a custom sort for unique sorting needs that alphabetic and numeric sorts just can’t handle.
In Custom sorting in Excel, I showed you a custom sort order for months. Excel has four of these built-in custom sorts. Unfortunately, they won’t handle more unique sorting needs, but you can create new ones when necessary. For example, you might identify temperatures by Cold, Warm, and Hot. An alphabetic sort would result in Cold, Hot, Warm, or Warm, Hot, Cold and there’s no built-in custom sort for this particular list.
To create a custom sort for the three elements, Cold, Hot, and Warm, in that order, do the following in Excel Excel 2010:
In Excel 2003, you can create the same custom sort as follows:
In Custom sorting in Excel, I showed you a custom sort order for months. Excel has four of these built-in custom sorts. Unfortunately, they won’t handle more unique sorting needs, but you can create new ones when necessary. For example, you might identify temperatures by Cold, Warm, and Hot. An alphabetic sort would result in Cold, Hot, Warm, or Warm, Hot, Cold and there’s no built-in custom sort for this particular list.
To create a custom sort for the three elements, Cold, Hot, and Warm, in that order, do the following in Excel Excel 2010:
- Click Add and Excel will transfer the new custom sort to the Custom Lists control (on the left).
- In the List Entries control, enter each element in the sort order. Press Enter after each entry. (If the list is long or already exists as natural data, you can specify the cell reference and click Import).
- Click the File tab and select Options (under Help).
- Select Advanced in the left pane.
- In the General section, click Edit Custom Lists.
- Click OK twice.
- Click the Office button and click Excel Options.
- Click Popular in the left pane (the default).
- In the Top Options For Working With Excel section, click the Edit Custom Lists button.
- Continue with step 4 above.
In Excel 2003, you can create the same custom sort as follows:
- Choose Options from the Tools menu.
- Click the Custom Lists tab.
- Continue with step 4 for Excel 2010.