How to Vertical Align in Excel: Cells Made Simple
In this article
Yes, Excel lets you align cell contents to the top, middle, or bottom of a cell, and it takes about two clicks. Select the cells, then go to the Home tab and use the vertical alignment buttons (Top Align, Middle Align, Bottom Align) in the Alignment group. You can also press the keyboard-free route of the Format Cells dialog for more control. This guide covers both methods, plus text that spans multiple lines and merged cells.
What You'll Need
- Excel on Windows or Mac (the steps below are for the desktop version; the web and mobile apps have the same buttons in slightly different places)
- A worksheet with some data in it
- No add-ins or special settings required
Step-by-Step
- Open your workbook in Excel and click the worksheet that contains the cells you want to align.
- Select the cell or range you want to change. To select a range, click the first cell and drag to the last, or hold Shift and click the last cell. You can also select entire rows or columns by clicking their headers.
- Go to the Home tab on the ribbon. Note that exact button labels can differ slightly between Excel versions and platforms, but the Home tab alignment controls are consistent across current desktop versions.
- In the Alignment group, click one of the three vertical alignment buttons: Top Align, Middle Align, or Bottom Align. Each button shows a small icon of lines positioned at the top, middle, or bottom of a box. Hover over a button to see its name in a tooltip.
- The change applies instantly. If the cells are single-height, the effect may not be visible until the row is taller than the text, which is common with wrapped text or manually resized rows.
- To verify, increase a row height by dragging the boundary below the row number in the left margin, or right-click the row header and choose Row Height, then enter a larger value such as 30.
For more control, use the Format Cells dialog instead:
- Select your cells, then press Ctrl+1 (or right-click and choose Format Cells).
- Switch to the Alignment tab.
- Under the Vertical dropdown, choose Top, Center, Bottom, Justify, or Distributed.
- Click OK to apply.
Common Mistakes
- Selecting only part of the range. Clicking a single cell only aligns that cell; check that the whole range is highlighted before clicking an alignment button.
- Expecting a visible change in normal-height rows. Vertical alignment only shows when the row is taller than the content, so wrapped text or enlarged rows are where it matters.
- Confusing horizontal and vertical buttons. The horizontal alignment buttons (Left, Center, Right) sit next to the vertical ones on the Home tab and look similar. The vertical buttons show lines stacked at different heights in a box.
- Forgetting merged cells. After merging, the combined cell often defaults to bottom alignment; reapply Middle Align to the merged cell.
- Aligning instead of centering across a selection. If you want text centered across several empty neighboring cells without merging, use Format Cells > Alignment > Horizontal > Center Across Selection instead.
Tips
- Top alignment usually reads best for text-heavy cells, while Middle Align suits short labels and numbers.
- If you want text to fill a tall cell evenly, choose Justify or Distributed in the Format Cells Vertical dropdown; these spread lines of text to use the full height.
- Combine vertical alignment with Wrap Text (Home tab, Alignment group) for tidy multi-line cells.
- To apply the same alignment to many scattered cells, hold Ctrl while clicking each cell, then click the alignment button once.
- Set a default by formatting an entire column: click the column letter to select it, then apply the alignment. New values typed there will inherit it.
- To clear formatting quickly, select the cells and choose Home > Clear > Clear Formats. Note this removes all formatting, not just alignment.
Troubleshooting
The alignment button seems to do nothing. The row is probably exactly as tall as the text, so there is no empty space to move content within. Increase the row height as described in step 6 and check again.
The alignment changes back on its own. Conditional formatting or a cell style may be overriding your manual setting. Check Home > Conditional Formatting > Manage Rules for rules applied to those cells, and reapply alignment after removing or editing the conflicting rule.
Numbers still sit at the bottom. Confirm you clicked a vertical button and not a horizontal one. If unsure, use Ctrl+1 and set the Vertical dropdown directly.
It does not work in a merged cell. Unmerge if needed (Home > Merge & Center > Unmerge Cells), apply alignment, then re-merge and reapply Middle Align.
Nothing changes after pasting data. Pasting can bring its own formatting. Use Paste Special > Values to keep your alignment, or reapply the alignment after pasting.
Excel is frozen or misbehaving. Save your work, close Excel, and reopen it. If problems persist, check for updates via File > Account > Update Options (Windows) or the Help menu on Mac, since an outdated build can cause odd ribbon behavior.
Frequently Asked Questions
What is the keyboard shortcut for vertical alignment in Excel?
There is no dedicated one-key shortcut for Top, Middle, or Bottom Align. The closest is Ctrl+1, which opens the Format Cells dialog where you can pick the vertical alignment from the dropdown. On Windows you can also press Alt, then the ribbon key tips to reach the alignment buttons.
Can I vertically align text in Excel for the web or mobile?
Yes. In Excel for the web, select the cells and find the alignment buttons on the Home tab of the ribbon, same as desktop. On mobile apps, look in the formatting or alignment menu after selecting cells; labels vary by device and version.
Does vertical alignment apply to numbers and dates too?
Yes. Vertical alignment affects any cell content: text, numbers, dates, or formulas. Note that numbers and dates still follow their default horizontal alignment (right) unless you change that separately.
Why does my wrapped text not spread to fill a tall cell?
Top, Middle, and Bottom Align only position the text block. To distribute the lines of wrapped text across the full cell height, use Format Cells (Ctrl+1) > Alignment tab and set Vertical to Justify or Distributed.
How do I vertically center text in a merged cell?
Select the merged cell, then click Middle Align on the Home tab, or set Vertical to Center in the Format Cells dialog. Merged cells often default to bottom alignment, so reapply it after merging.