Date Sorting Question

P

Paul Axelrod

I have inherited a speadsheet containing about 12 thousand records,
one of the fields contains date information. The dates are entered in
a mm/dd/yy format.
The problem is it needs to be sorted by month, then year and then day.
Is it possible to do this in Excel 97.

Paul
 
M

Myrna Larson

Assuming the dates are in column A, set up a "helper" column on the right, say K. In K1 put this
formula and copy down as far as necessary:

=TEXT(A1,"MMYYYYDD")

Change the reference appropriately.

Sort on this helper column. Be sure the helper column is immediately to the right of the last
column of "real" data so the data rows will be sorted with it. BTW, you can hide this column if
you wish, but then you can't select a cell there and click the Sort button.
 

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

Use excel to calculate an expiration date 1
sorting 3
Date Formats 4
Conditional formatting of date-cell - 2007 5
Timetable 7
date format 1
Weird date format problem 2
Preserving date format 1

Top