Custom Sorting allows you to sort data using multiple levels or your own custom order instead of simple A–Z or Smallest–Largest sorting.
It is useful when:
- Sorting by multiple columns
- Sorting by priority levels
- Sorting months or days in correct order
- Organizing complex reports
How to Apply Custom Sort
Steps:
- Select the entire table
- Go to Data tab
- Click Sort
- Choose:
- Column
- Sort On (Values, Cell Color, Font Color, Icon)
- Order
- Click Add Level for multiple sorting
- Click OK
Example 1: Multi-Level Sorting
Data:
| Name | Department | Salary |
|---|
Requirement:
- First sort by Department (A–Z)
- Then sort by Salary (Largest to Smallest)
Steps:
- Level 1 → Department (A–Z)
- Level 2 → Salary (Largest to Smallest)
This keeps departments grouped and salaries sorted within each department.
Example 2: Custom List Sorting (Months)
By default, alphabetical sorting would arrange:
April
August
December
February
But with Custom Sort, you can sort in proper month order:
January
February
March
April
Steps:
- Open Sort dialog
- Choose column
- Under Order → Select Custom List
- Choose built-in list (Months or Days)
Example 3: Create Your Own Custom List
If priority levels are:
High
Medium
Low
Create custom order:
- File → Options → Advanced
- Edit Custom Lists
- Add your list
- Use it in Sort Order
Now Excel sorts:
High
Medium
Low
Sorting by Color
You can sort by:
- Cell Color
- Font Color
- Conditional Formatting Icons
Useful in dashboards and status tracking.
Important Tips
- Always select full table
- Ensure headers are checked
- Avoid blank rows
- Do not merge cells
Why Custom Sorting is Important
- Organizes complex data logically
- Supports professional reporting
- Allows priority-based sorting
- Improves readability
Conclusion
Custom Sorting is a powerful tool for advanced data organization. It gives full control over how your data is arranged and is essential for professional Excel reporting.