Article ID: 106007 - Last Review: August 15, 2005 - Revision: 1.3 Dates in Unexpected Order in AutoFilter Drop-down ListThis article was previously published under Q106007 On This PageSUMMARY
In Microsoft Excel, when you use the AutoFilter command, the order in which
dates will appear in the drop-down list depends on how they were originally
formatted. Dates will appear in either of the following orders
Mixing number formats may cause the drop-down list to have no discernible order. For this reason, it is recommended that you use the same number format for all dates in the same column when using the AutoFilter command. MORE INFORMATIONExampleTo create an example that will demonstrate how various dates are sorted depending on how they are formatted, do the following:
The following table contains some of the possible date formats and lists the order in which dates formatted this way appear. This format Displays the dates as In this order --------------------------------------------------------------- m/d/yy 1/1/94, 2/1/94, 3/1/94 Numerical d-mmm-yy 1-Jan-94, 1-Feb-94, 1-Mar-94 Numerical d-mmm 1-Jan, 1-Feb, 1-Mar Numerical mmm-yy Jan-94, Feb-94, Mar-94 Numerical mmmm January, February, March Alphabetical mmm Jan, Feb, Mar Alphabetical yyyy mmmm 1994 January, 1994 February Alphabetical yyyy-mmmm 1994-January, 1994-February Alphabetical yy mmmm 94 January, 94 February, Alphabetical yy-mmmm 94-January, 94-February, Alphabetical mm 01, 02, 03, 04 Numerical m/d/yyyy 1/1/1994, 2/1/1994, 3/1/1994 Numerical d-mmmm 1-January, 1-February, 1-March Numerical mmmm yyyy January 1994, February 1994 Numerical d mmmm yyyy 1 January 1994, 1 February 1994 Numerical mmmm d, yyyy January 1, 1994 Numerical mmmm dd, yyyy January 01, 1994 Numerical @ (text 1/1/94, 2/1/94, 3/1/94 Numerical format, applied to cells before dates are entered) 'date 1/1/94, 2/1/94, 3/1/94 Numerical (apostrophe entered before date: '1/1/94) REFERENCES
"User's Guide," version 5.0, Chapter 21
APPLIES TO
| Article Translations
|


Back to the top
