Aligning Digits in a Table

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


Janice has a table that, in one column, contains numbers. Some have decimal points, some have percent signs, and some have parentheses. She wonders how she can easily align these values, horizontally, so they are easier to read.

The easiest way to handle this is to set a decimal tab. To demonstrate how this works, I'm going to work with a small table that has just eight rows of data in it. (See Figure 1.) This allows enough space to put the different types of data that Janice describes.

Figure 1. An example table with various types of numbers in it.

Now, select the entire column that contains your data. You can then display the Layout tab of the ribbon, the one for tables. What you want to do is to pay attention to the column width that is shown. Note, in this case, that the column width is 1.3 inches. (See Figure 2.)

Figure 2. Note the width of the column with which you are working.

You'll also want to make sure that the column is formatted as left justified. (If you don't do this, you won't end up with the results you want.) You can do that by displaying the Home tab of the ribbon and, with the column still selected, making sure the Align Left tool is selected.

Now, on the Home tab of the ribbon, click the small icon at the bottom-right of the Paragraph group. Word displays the Paragraph dialog box. You don't need to change anything in the dialog box, but you do need to click the Tabs button, in the bottom-left of the dialog box. Word then displays the Tabs dialog box. (See Figure 3.)

Figure 3. The Tabs dialog box.

In the Tab Stop Position box, enter a value that is a bit less than the column width you noted earlier. In my example, the column width was 1.3 inches, so I'm going to put in a value such as 0.9 inches. Then, I click on the Decimal radio button (because I want to set a decimal tab stop), and made sure that the Leader option is set to None. Finally, I clicked the Set button and then clicked OK to close the Tabs dialog box and apply the tab. (See Figure 4.)

Figure 4. The decimal tab is applied to the column.

Notice what happened to the digits in the table—everything was moved to the right and aligned on either the decimal point or on an inferred decimal position. There was no need to press the Tab key or make any other alignment changes.

If you want to move the position of the tab stop, you can do so by clicking the tab-stop indicator in the Ruler area (marked in the above figure) and drag it left or right. If you don't like how some of the numbers are aligned, simply place the insertion point in the cell you want to adjust and then drag the tab-stop indicator left or right, and just that cell will be affected.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12971) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 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

Determining the Length of a Text File

When processing plain text files in a macro, it is often helpful to know how much data the file contains. The normal way ...

Discover More

Copying Character Formatting

If you are applying character formatting directly to text rather than using a character style, you can copy it from one ...

Discover More

Printing Summary Information from a Macro

Part of the information that Word maintains about each of your documents is a summary statement, which you can define in ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (ribbon)

Locking Table Contents

When you get information in your document "just right," you may want to make sure that others cannot change it. Here's a ...

Discover More

Setting a Standard Column Width

If you have a bunch of tables in your document, you may want to adjust the column widths of all of those tables. Here are ...

Discover More

Formatting an ASCII Table with Tabs

If you get a document from a coworker that has tabs used to line up tabular information, you might want to change that ...

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 4 + 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.