Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Sorting Single-Column Addresses.

Sorting Single-Column Addresses

Written by Allen Wyatt (last updated May 11, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


Alexander asked if there was an easy way to sort single-column addresses in Word, such as the following:

Jane R. Doe
1234 Anytown Road
Mapleton, AZ  85229
Fred Davis
5678 Main Street
Yorba Linda, CA  94123

The answer depends on your definition of "easy." The most versatile long-term solution is to transfer the addresses to some sort of a database program, or even to Excel. You can organize and sort to your heart's content in those programs, and then simply merge the results back into Word.

If you are intent on keeping the addresses in Word, then you can sort them easily, provided a few conditions are met. First of all, each address "block" (for lack of a better term) must be a single paragraph. This means that there must be a manual line break (Shift+Enter) at the end of each line in the address block, except the last one. Second, the only place in the first line where there can be any regular spaces is just before the beginning of the last name. For all other spaces (say, between the first name and middle initial or between a title and the first name) you should use a non-breaking space.

With the data in the proper condition, you can now sort the addresses by following these steps:

  1. Select all the addresses that you want to sort.
  2. Display the Home tab of the ribbon.
  3. Click the Sort tool in the Paragraph group. Word displays the Sort Text dialog box. (See Figure 1.)
  4. Figure 1. The Sort Text dialog box.

  5. Click on the Options button. Word displays the Sort Options dialog box. (See Figure 2.)
  6. Figure 2. The Sort Options dialog box.

  7. Make sure Other is selected, and that the small box to the right of Other contains a single space.
  8. Click on OK.
  9. Using the Sort By drop-down list, choose the Word 2 option. (Word considers everything up to the first space on each first line to be the first word, and then everything thereafter to be the second word. Since the only space on the first line of each block is just before the last name, this means you are instructing Word to sort by last name.)
  10. Click on OK.

Your addresses are now sorted properly.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10360) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word here: Sorting Single-Column Addresses.

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

Merging Table Cells

Want to create cells that span multiple columns or multiple rows? You do this in Word by merging cells together. Here's ...

Discover More

Understanding the Document Map

The Document Map is a handy way to view the overall organization of your document as you are working with it. It is like ...

Discover More

Friendly and Informative Error Handling

When creating macros, it is helpful to know what is going on within the macro itself in case an error crops up. Here's ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Controlling Sorting Order

When you sort information either in a table or the body of you document, Word follows a very specific set of rules to do ...

Discover More

Sorting a Text Selection

Word gives you the option to sort selected groups of text. You can do text, date or number sorts on whole paragraphs or ...

Discover More

Sorting Tabular Tables

Some people like to format simple tables using tabs instead of using Word's table editor. When it comes time to sort such ...

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 2 + 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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

Videos
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.