Issue sorting by date

G

Guest

I have a user who has a sheet that has dates sorting like this, what can I do
to change it to sort from 1/1/96 thru my last date? I've tried formatting the
columns every way I can think of.

Example:
1/1/1996
1/1/1997
1/1/2000
1/2/1996
1/2/1997
1/2/1999
 
D

David Biddulph

It looks as if your data cells are formatted as text. You need to convert
the text to dates.
 
G

Guest

did exactly that. I ended up getting that done but is there an easy way to
know that they were in text? There were approx 13,000 lines.
 
D

David Biddulph

If you haven't adjusted the formatting of the cells, the easiest way to spot
it is that by default, text is aligned at the left, while numbers and dates
are aligned at the right.
You can check with ISTEXT(A1).
 
G

Gord Dibben

The data is text.

Select and Data>Text to Columns>Next>Next>Column Data Format>Date>MDY and
Finish.

Should sort by date now.


Gord Dibben MS Excel MVP
 

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

Top