Related Topics:

Analysis Workbooks

Sort

The Sort tool allows you to quickly sort columns or rows alphabetically or numerically in ascending or descending order, or you can create your own custom sort to sort multiple columns in a user-defined order.

To sort the data, select a range of cells in the spreadsheet and choose Sheet > Sheet Actions > Sort.

Sort Ascending or Descending

Choose Sort Ascending or Sort Descending. The data in the selected cells will automatically be sorted in the appropriate order.

Sort with Multiple Criteria

  1. Select Custom Sort. The Sort window will appear.

  2. In the Sort By area, choose how you want to sort the data: either by rows or by columns.

  3. In the Keys area, choose a key from the drop-down list then use the Key Reference field to specify a cell in the column you want to sort by.

  1. Click OK. The data in the selected cells will be sorted in the order of the keys. If the data for Key 1 contains identical values, then the data for Key 2 would be checked to sort between the same values. If Key 2 contains identical values, then Key 3 would be checked, and so on.

For example, consider a simple case of sorting the names and cities shown below. To sort by city, you would set Key 1 to use Key Reference C2 ("City" data), set Key 2 to use Key Reference A2 ("Last Name" data) and set Key 3 to use Key Reference B2 ("First Name" data). After clicking OK, the cities are listed alphabetically, and then the names are sorted with in each city.

 

© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.