Module 10 · Sort, Filter and Clean
Sort by two columns

The volunteers walk through the shelter in a fixed order: first the cats, then the dogs, then the rabbits. Rosa wants the list in the same order. Inside each group, the names must be A to Z. One sort button cannot do both.
Steps
Sort by species, then by name
The Sort dialog sorts by more than one column. Each column is a level. Excel uses the second level when the first level is equal.
How to do it
- Click one cell in the list.
- On the Data tab, in the Sort & Filter group, click Sort.
- In the Sort by list, select the first column.
- Click Add Level.
- In the Then by list, select the second column.
- Click OK.
- The Order list sets the direction of each level: A to Z, or Largest to Smallest for numbers.
Species A to Z, then Name A to ZTask: The vet does a second tour. She wants the oldest animal of each species first. Sort by Species, then by Age, largest to smallest.