#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default sort dates

I have dates formatted as 02/01/06, but when I sort in ascending order,
nothing seems to sort correct, there is a mixture of 06, 00, 05. I looked
for any character such as a space in front or a dot instead of a / to see if
this was the problem. Any thoughts?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default sort dates

First insure that they are genuine dates. If your date system is m/d/y then
02/01/06 will be 1 February 2006. Re-format the cell containing this value
to General and you should see: 38749

If this does not happen, then you are not using "real"dates
--
Gary''s Student - gsnu200779


"Pammy" wrote:

I have dates formatted as 02/01/06, but when I sort in ascending order,
nothing seems to sort correct, there is a mixture of 06, 00, 05. I looked
for any character such as a space in front or a dot instead of a / to see if
this was the problem. Any thoughts?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default sort dates

See GS's reply as well as this.

Try running the dates through the DataText to Columns Wizard.

DataT to CNextNextColumn Data FormatDate.

MDY or DMY and Finish.


Gord Dibben MS Excel MVP

On Mon, 14 Apr 2008 06:31:02 -0700, Pammy
wrote:

I have dates formatted as 02/01/06, but when I sort in ascending order,
nothing seems to sort correct, there is a mixture of 06, 00, 05. I looked
for any character such as a space in front or a dot instead of a / to see if
this was the problem. Any thoughts?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sort function for dates does not sort properly in Office 2007 Exc. Rosalie Excel Worksheet Functions 1 November 22nd 07 11:25 PM
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 05:10 AM
How do we Sort dates in Excel? Marilyn Excel Discussion (Misc queries) 6 May 15th 07 06:49 PM
How to sort month dates Robert Judge Excel Worksheet Functions 4 December 31st 06 02:59 AM
sort dates Debgala Excel Worksheet Functions 5 August 10th 05 12:05 AM


All times are GMT +1. The time now is 05:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"