ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   UNABLE TO SORT DATE (https://www.excelbanter.com/excel-discussion-misc-queries/216092-re-unable-sort-date.html)

joel

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



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com