« A podcast: Solveig Talks to Barton George from Sun | Main | Math is hard....especially in Microsoft Excel »

September 24, 2007

Sorting: Sorting by months or days of the week, in date order instead of alphabetical order

All right. It's time to do some really advanced sorting.

Let's say you have a schedule and you want to sort it by day of the week. What's the first day of the week? Monday. But alphabetically it's not first. Friday, for instance, comes before Monday. So here's how to sort by days of the week, months, etc.

You've got your data.
Sortdow1

Select it and choose Data > Sort.
Sortdow2

Click the Options tab and make the appropriate selection for Range Contains Column Labels.
Sortdow3

Now select Custom Sort Order and select the one you want.
Sortdow4

Click the Sort Criteria tab and select the column to sort by that contains the corresponding kind of data.
Sortdow5

Click OK.

And you get your results.
Sortdow6

Wondering "Where did that sort order come from?"

Wondering "Could I perhaps make my own sort order, like President Vice-President Secretary Treasurer or High Card, Pair, Two Pair, Trips, and so on?"

You will have your questios answered in the next installment of Sorting.


Traininglogo




TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341cdb1753ef00e54ef383a98834

Listed below are links to weblogs that reference Sorting: Sorting by months or days of the week, in date order instead of alphabetical order:

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment