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

I have a column with a short date formatted: 1/1/08, 10/20/07, showing
this way.

Question: It does not sort correctly, I am finding some 12/02/07 example
mixed in with 1/20/08 and as I look down through the worksheet there are
several 07 mixed in with the 08, how do I correct this?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default date sort

this is excel 2003

"Pammy" wrote:

I have a column with a short date formatted: 1/1/08, 10/20/07, showing
this way.

Question: It does not sort correctly, I am finding some 12/02/07 example
mixed in with 1/20/08 and as I look down through the worksheet there are
several 07 mixed in with the 08, how do I correct this?

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default date sort

Sounds like perhaps some of the dates are *not* true XL recognized dates.
Some may be text that just look like numbers.

When you start the sort, do you get an error dialog window, asking about
what to do with text numbers?

I get that on my XL02 machine.
Should be in XL03 also.

You can test some of the "bad" cells to see if
=Isnumber() comes up "False".

--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------


"Pammy" wrote in message
...
this is excel 2003

"Pammy" wrote:

I have a column with a short date formatted: 1/1/08, 10/20/07, showing
this way.

Question: It does not sort correctly, I am finding some 12/02/07 example
mixed in with 1/20/08 and as I look down through the worksheet there are
several 07 mixed in with the 08, how do I correct this?

Thanks,



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default date sort

It sounds like some of your dates are text entries and not dates. When you
did the sort did you get a SORT WARNING dialog box asking if you wanted to
sort numbers and numbers stored as text separately?

Setting the option button to sort anything that looks like a number as a
number will solve this issue, otherwise you'll have to convert the entries to
true dates.
--
Kevin Backmann


"Pammy" wrote:

this is excel 2003

"Pammy" wrote:

I have a column with a short date formatted: 1/1/08, 10/20/07, showing
this way.

Question: It does not sort correctly, I am finding some 12/02/07 example
mixed in with 1/20/08 and as I look down through the worksheet there are
several 07 mixed in with the 08, how do I correct this?

Thanks,

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default date sort

It sounds as if (for some cells at least) you've got text, rather than
dates. Format the Cells and see whether they will change to 24 July 08, for
example. If the Format doesn't change the display, the contents are text,
not dates, hence they won't sort correctly.
--
David Biddulph

"Pammy" wrote in message
...
this is excel 2003

"Pammy" wrote:

I have a column with a short date formatted: 1/1/08, 10/20/07, showing
this way.

Question: It does not sort correctly, I am finding some 12/02/07 example
mixed in with 1/20/08 and as I look down through the worksheet there are
several 07 mixed in with the 08, how do I correct this?

Thanks,



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 on a date LuluD Excel Discussion (Misc queries) 1 June 28th 06 08:55 PM
Sort by date - just not getting it all the way there Spin Excel Worksheet Functions 3 January 18th 06 02:11 AM
sort by date Red Excel Discussion (Misc queries) 1 October 11th 05 07:49 PM
the date format is not working ,sort by date doesn't work. Rosa Campos Excel Discussion (Misc queries) 1 September 12th 05 10:52 PM
Can't sort by date Laurel New Users to Excel 2 April 12th 05 01:11 PM


All times are GMT +1. The time now is 09:15 AM.

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

About Us

"It's about Microsoft Excel"