Sorting Inventory Labels

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


Gary notes that labels are implemented in Word using tables. He has a three-page set of labels that he uses for inventory. Each label contains a single part number. Gary needs to add new labels to the end of the document each month before printing. Given that the table has four columns and no headings, he wonders if there is a way to sort the labels in alphabetic order left-to-right and top-to-bottom.

For Gary's purposes, there are two approaches that may prove satisfactory. The first is rather simple—after adding the new information at the bottom of the table, follow these steps:

  1. Place the insertion point in one of the cells of the table.
  2. Make sure the Table Layout tab of the ribbon is displayed.
  3. In the Data group, click the Convert to Text tool. Word displays the Convert Table to Text dialog box. (See Figure 1.)
  4. Figure 1. The Convert Table to Text dialog box.

  5. Select the Paragraph Marks radio button.
  6. Click OK. Word converts the table to text, with the contents of each cell in an individual paragraph. In addition, each paragraph should still be selected.
  7. Display the Home tab of the ribbon.
  8. Click the Sort tool in the Paragraph group. Word displays the Sort Text dialog box. (See Figure 2.)
  9. Figure 2. The Sort Text dialog box.

  10. Using the controls in the dialog box, indicate the way you want the paragraphs sorted.
  11. Click on the OK button. Word sorts the paragraphs, and they should all still be selected.
  12. Display the Insert tab of the ribbon.
  13. Click the Table tool and then click Convert Text to Table. Word displays the Convert Text to Table dialog box. (See Figure 3.)
  14. Figure 3. The Convert Text to Table dialog box.

  15. Change the Number of Columns control to 4.
  16. Click on OK. Word converts the text to a table, sorted left to right and top to bottom.

This process works just fine, but understand that the only similarity between the beginning table (step 1) and the ending table (step 13) is that they have the same number of columns and rows. The height of those rows and width of those columns will be different, which means that the result may not be satisfactory for printing the labels that Gary wants.

This brings me to the second possible approach: put your inventory items in an Excel workbook and then use mail merge, in Word, to create the labels. Excel makes updating and sorting the part numbers a snap, and it doesn't take that much work to do a mail merge using the label format you want.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (5842) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365.

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

Printout Doesn't Match Display for Some Cells

Have you ever noticed that when you print something, there are times that what is printed doesn't exactly match what you ...

Discover More

Tracing Precedent Cells

Cells that affect another cell are called precedent cells. If you need to know which cells affect a particular cell, ...

Discover More

Changing the Size of a Graphic

Word allows you to add more than text to your documents; you can also add graphics. Once added, you can modify the size ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Alphabetizing By Last Name

Sorting lists of names by last name is easy if they are listed in a LAST, FIRST order. But what if the names are in FIRST ...

Discover More

Sorting Text

Word makes it easy to sort the information that is contained in your document. Here's how to accomplish this.

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}] (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 + 8?

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.