Google Exceltip.com
Account Icon
Shopping Cart
CheckOut

» How Excel Sorts Lists

CATEGORY: Excel Sorting
Excel sorts Lists according to a defined order, as follows:

Numeric values
Numeric values, including date and time, are sorted from lowest (negative) to highest (positive). Excel does not consider the format of the cell, only its contents.
Date and time are sorted by their numeric values.

Text
Text is sorted first by ASCII characters, such as *, (,), $, and then by letters of the alphabet (also ASCII characters). Uppercase text is sorted before lowercase text.
To sort using case sensitivity:
From the Data menu, select Sort, then Options, and then select the Case Sensitive option.

Logical values
FALSE is sorted before TRUE.

Errors
Errors do not undergo internal sorting, and appear next to last.

Empty cells
Empty cells are always sorted last. Sort Descending changes the sort order from the last to the first, except for empty cells, which are always last.
Rate this tip
12 34 5
  RATING: 2.54
  VIEWS: 48226
  No comments have been submitted.


REGISTERED USERS click here to post comments


GUESTSclick here to Register
Name
Comment Title
Comments


Terms and Conditions of use
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Copyright © 2003 ExcelTip.com
Microsoft, Microsoft Excel is a U.S. registered trademark of Microsoft Corporation