Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Setting Vertical Alignment.

Setting Vertical Alignment

Written by Allen Wyatt (last updated February 10, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003


Excel provides several different ways you can align information from top to bottom (vertically) within a cell. You set the alignment by first selecting the cells you want to format and then displaying the Alignment tab of the Format Cells dialog box. (See Figure 1.) (To display the dialog box, choose Cells from the Format menu.)

Figure 1. The Alignment tab of the Format Cells dialog box.

On the Alignment tab, use the Vertical drop-down list to make your selection. There are four different alignment options available in Excel 97 and Excel 2000, and five in later versions of Excel:

  • Top. The information in the cell is situated such that the top line of text appears at the top of the cell.
  • Center. Information is centered half-way between the top and bottom borders of the cell.
  • Bottom. This is the default vertical alignment. Information is aligned at the bottom of the cell.
  • Justify. Text is spread evenly throughout the cell. The information within the cell is wrapped within the column (if necessary), and the row height is adjusted so that all lines fit within the cell and so all information reaches both the top and bottom borders of the cell. Column width is not affected at all.
  • Distributed. This option is available in Excel 2002 or later versions. When selected, text is spread evenly between the top of the cell and the bottom. Effectively, blank space is placed between each line so that the complete cell is filled.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2124) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Setting Vertical Alignment.

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

Default Formatting for PivotTables

Wish there was a way to define how you want PivotTables formatted before you actually create the PivotTable? You may be ...

Discover More

Outside End Data Label for a Column Chart

It can be frustrating when Excel doesn't display the formatting options that you know it should for your charts. This tip ...

Discover More

Discovering Printer Drift

How accurate is your printer when it comes to placing information on the printed page? The simple technique described in ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Adjusting Row Height when Wrapping Text

If you have some cells merged in a worksheet, and you wrap text within that merged cell, Excel won't automatically resize ...

Discover More

Hiding Individual Cells

Hiding information in one or more cells can be a challenge. This tip presents several different techniques that can help ...

Discover More

Changing Font Sizes

Want to change the size of the font within a worksheet? Excel allows you to choose from a list of sizes, as well as ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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 one minus 0?

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 Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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.