Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Laurel
 
Posts: n/a
Default Can't sort by date

How can I sort a spreadsheet by a column full of dates? Even though type is
"date" when I sort by that column, the result seems to be random. I can't
make sense of the order even assuming it is sorting like text. The sort
does happen, because it changes when I switch between ascending and
descending.


  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Laurel,
What happens if you hit F2 then enter for the first date
in the column and for the last date in column.

I'd try using the TRIMALL macro on a copy of your worksheet
to see if anything changes.
http://www.mvps.org/dmcritchie/excel/join.thm#trimall
if that does not work or if it works and you want to know
what you actually had then read the comments associated
with the macro to find out what you actually have.

HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Laurel" wrote in message ...
How can I sort a spreadsheet by a column full of dates? Even though type is
"date" when I sort by that column, the result seems to be random. I can't
make sense of the order even assuming it is sorting like text. The sort
does happen, because it changes when I switch between ascending and
descending.




  #3   Report Post  
Laurel
 
Posts: n/a
Default

Thanks for the tips. I'll certainly save this info, but you'll see from
another response that I finally figured it out.


"David McRitchie" wrote in message
...
Hi Laurel,
What happens if you hit F2 then enter for the first date
in the column and for the last date in column.

I'd try using the TRIMALL macro on a copy of your worksheet
to see if anything changes.
http://www.mvps.org/dmcritchie/excel/join.thm#trimall
if that does not work or if it works and you want to know
what you actually had then read the comments associated
with the macro to find out what you actually have.

HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Laurel" wrote in message
...
How can I sort a spreadsheet by a column full of dates? Even though type
is
"date" when I sort by that column, the result seems to be random. I
can't
make sense of the order even assuming it is sorting like text. The sort
does happen, because it changes when I switch between ascending and
descending.






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 column in date order dd/mm/yy K Excel Discussion (Misc queries) 3 April 13th 05 09:00 PM
Trying to create repeating dates and then sort column by date lizabright Excel Worksheet Functions 2 February 11th 05 12:33 AM
DATE SORT BY COLUMNS Sue Excel Worksheet Functions 0 January 13th 05 06:03 AM
Date sort problems Graham_Wright Excel Discussion (Misc queries) 2 January 4th 05 05:00 PM
Excel 2003 "File Open": how keep folders at top with sort by Date. Aging Analyst Excel Discussion (Misc queries) 1 December 3rd 04 03:26 AM


All times are GMT +1. The time now is 03:09 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"