#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default UNABLE TO SORT DATE

The problem is excel won't recognize the cell as a datte value with the Day
of the week (Fri) at the beginning of the data. You have to remove the Fri
to be able to sort. If your date start in cell A1 use this formula in B1 to
convert to a date

=DATEVALUE(MID(A1,5,LEN(A1)))


The sort the new column.

"Selva" wrote:

Am unable to sort a set of values with a date column, tried many times and
found the date column is getting sorted on Date basis

example:

Fri 06/02/09 07:37
Fri 06/03/09 00:00
Fri 06/03/09 22:37
Fri 13/02/09 05:00
Fri 13/03/09 05:25
Fri 20/02/09 09:00
Fri 20/03/09 00:00
Fri 23/01/09 00:00
Fri 23/01/09 03:00
Fri 23/01/09 08:00

I need to sort on DD/MM/YYYY hh:mmformat

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
Unable to correctly sort columns in spreadsheet Dan Excel Discussion (Misc queries) 8 December 28th 12 11:56 AM
Unable to sort when column is included in range Trudy Excel Discussion (Misc queries) 1 July 8th 08 03:27 PM
Excel unable to sort any numbers Jeffry61 Excel Discussion (Misc queries) 1 May 19th 06 08:17 PM
Unable to sort data in excel with cells containing if & hlookup MarcHere Excel Worksheet Functions 1 November 14th 05 04:06 PM
Unable to sort in Excel because of merged cells Bruce Excel Discussion (Misc queries) 5 July 23rd 05 12:21 AM


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