UNABLE TO SORT DATE

S

Selva

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
 
D

David Biddulph

It looks as if you've got text, rather than real dates and times.
You can check with =ISTEXT (cellref) and =ISNUMBER(cellref).
If they are text, you'll need to convert them to real Excel dates and times
before you can sort them. Data/ Text to Columns may help you.
 
J

Joel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top