
Tips.Net > ExcelTips Home > Sorting > Creating a Sort Order
Summary: If you have special sorting needs, Excel can help you out. It will even allow you to create custom non-standard sorting orders. This tip explains how you can do that, and how that feature can benefit the work you do. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)
There are times when a normal sorting order just doesn't cut it. Instead, you need a special sorting order that fits the type of data you are working with. In the previous tip you learned that you can instruct Excel to sort by a special sorting order, such as days of the week. You can also easily create your own sorting orders.
For instance, let's assume you have a field that can contain the name of one of four colors--Black, Red, Green, and Orange--and that you wanted your list sorted in that order. The problem is, Excel would normally sort this list alphabetically--Black, Green, Orange, and Red. The solution is to create a custom list that has the colors in the order you desire.
To create a custom list follow these steps:
Black Red Green Orange
Once your lists are defined, you can use them to sort with as described in the previous tip.
Tip #2920 applies to Microsoft Excel versions: 97 2000 2002 2003
Step Up and Take Control! Subscribers to ExcelTips know just how valuable a resource it is. ExcelTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on ExcelTips archives and e-books.
Check out ExcelTips Premium today!
You can put times into a worksheet, but then what? Need to do calculations with times? How about working with elapsed time? Don't be confused; learn how easy it can be. (more information...)
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Word2007 Tips
WordTips
Advertise on the
ExcelTips Site