Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Sorting Dates Numerically.

Sorting Dates Numerically

by Allen Wyatt
(last updated February 9, 2013)

3

David experienced a problem when trying to sort dates in a table. His dates are in the format year.month.day, as in 10.12.24, 10.09.16, and 12.06.19. When he sorts the table by the dates, Word puts them in the order 12.06.19, 10.12.24, and 10.09.16.

This date order can be handled by Word automatically—in fact, it should be handled automatically, with very little intervention on your part. Follow these steps:

  1. Put the insertion point anywhere within the table.
  2. Choose Sort from the Table menu. Word selects the entire table and displays the Sort dialog box. (See Figure 1.)
  3. Figure 1. The Sort dialog box.

  4. Using the Sort By drop-down list, choose the column containing the dates (for instance, Column 4). If your table has a header row, you can select the column using the names in the header row.
  5. When you select the Sort By column, Word should automatically change the Type drop-down list to Date. If it does not, change it manually to Date.
  6. Click OK. The table is sorted.

There are a couple of interesting things to note about sorting in this manner. It is best to choose a Date sort type, but you could also choose a Text sort type. Either method will work fine, provided the dates in the table are all in the current century. If the table also includes dates in the previous century, you should only choose the Date sort type.

The second thing to note is that David's results, noted at the beginning of this tip, really are sorted properly. The order 12.06.19, 10.12.24, and 10.09.16 indicates that the dates are in descending sorted order. To get the dates into ascending order, you need to make sure the Ascending option is chosen in the Sort dialog box.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (5489) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Sorting Dates Numerically.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Getting Rid of Automatic Page-Break Lines

A little trick to get rid of pagination marks when you have background pagination turned off.

Discover More

Changing Font Size Using a Shortcut Key

When you need to change the font size of a text selection, using the shortcut described in this tip is a great technique. ...

Discover More

Making Changes in a Group of Workbooks

If you need to change the same data in a large number of workbooks, the task can be daunting. Here are some ideas (and some ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (menu)

Changing Paragraph Order

Want a quick way to rearrange entire paragraphs of your document? You can easily do it by using the technique described here.

Discover More

Changing Sort Order

When sorting information, Word follows some pretty strict rules. If you want to modify how those rules are applied, you may ...

Discover More

Sorting an Album List

Word allows you to easily sort the information you store in a document. If you want to sort information as groups of ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight more than 8?

2016-05-25 13:35:42

ameya

it worked!!!


2015-12-16 11:36:08

m h jowher

My Word 2016 shows Recent Files List in MMDDYYYY format despite my regional settings and everything else showing DDMMYYYY in both the short and the long date formats.


2013-02-15 08:33:54

shahzad Tarique

I want to sort data in a table for dates (DD-MM-YY)format but getting wrong result
what should i do know ?
Micorsoft Word 2007 and
as well as
Micorsoft Excel 2007


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.