Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Arranging Document Windows

Specifying a Backup Location

Controlling Chart Gridlines

Merging Table Cells

Collapsing and Expanding Subdocuments

Zooming With the Keyboard

Initiating a New Search

 

Sorting Single-Column Addresses

Summary: Got a document that contains a bunch of addresses? If you want to sort the addresses, then you are in for a surprise because it may not be as easy as you think. This tip explains the easiest methods to get your addresses in the order you need. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

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. Choose Sort from the Table menu. Word displays the Sort Text dialog box. (Click here to see a related figure.)
  3. Click on the Options button. Word displays the Sort Options dialog box. (Click here to see a related figure.)
  4. Make sure Other is selected, and that the small box to the right of Other contains a single space.
  5. Click on OK.
  6. 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.)
  7. Click on OK.

Your addresses are now sorted properly.

Tip #1642 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003

Take Control! Master the real power behind Word! Successfully master the secrets of powerful formatting and create documents that stand out from the rest. Best of all, you can create documents that are easy to maintain and quick to change.
 
Check out WordTips: Styles and Templates today!