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

Cannot View Graphics in a Document

Got a problem where you can't view any of the graphics you insert in your document? The solution could be simple, or you ...

Discover More

Tab Key Won't Move from Cell to Cell in Locked Worksheet

Normally the Tab key can be used to move from one cell to another in Excel. If this cell movement doesn't work for you, ...

Discover More

Counting Consecutive Negative Numbers

If you have a range of values that can be either positive or negative, you might wonder how to determine the largest ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2019. Spend more time working and less time trying to figure it all out! Check out Word 2019 For Dummies today!

More WordTips (ribbon)

Odd Sorting

Word is great at sorting simple information in tables and paragraphs. If you have more complex information (such as ...

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 three more than 1?

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.