To center words in an Excel cell, select the cell or cells and click the Center button in the Alignment group on the Home tab, or press Ctrl+E on Windows (on a Mac, use the alignment buttons on the toolbar — there is no reliable single shortcut). That centers the text horizontally within the cell. If you also want the text centered vertically, use the three vertical-alignment buttons in the same group. Everything else — merged cells, wrapped text, centering across a selection without merging — builds on that one click.

What You'll Need

  • Microsoft Excel on Windows, Mac, in a browser, or the mobile app. Google Sheets, LibreOffice Calc and Apple Numbers have equivalent buttons but slightly different layouts.
  • A worksheet with text already typed in (or a blank cell you plan to type in).
  • Nothing else — no add-ins, no formulas, no macros.

One note before you start: menu labels differ slightly between Excel versions, between Windows and Mac, and in the web and mobile versions. The buttons look the same everywhere even when the wording around them changes, so trust the icons.

Step-by-Step

  1. Select the cell or range. Click a single cell, or click and drag across several cells, or click a column letter or row number to take the whole line. You can also select a non-adjacent set by holding Ctrl (Windows) or Command (Mac) while clicking. Only cells you have selected will change.
  2. Go to the Home tab. The alignment controls live in the Alignment group. In some window sizes Excel collapses the group into a small dialog launcher button at its bottom-right corner — click that to open the full Format Cells box if you cannot see the icons.
  3. Click the Center button. It is the middle one of the three horizontal-alignment icons (Left, Center, Right), and it shows lines of text centered between two edges. The text jumps to the middle of the cell as soon as you click.
  4. Center vertically if you want it. In the same group, the three vertical buttons are Top Align, Middle Align and Bottom Align. Middle Align puts the text in the vertical middle of the row height, which matters when a row is tall or the text is wrapped. Excel's default vertical alignment is Bottom, which is why centered text can still look like it is sitting at the bottom of a tall row.
  5. Check the result in the formula bar. Centering changes appearance only — the formula bar still shows the text unchanged, and the underlying value is untouched. If the text still looks left-aligned in the cell but the button is highlighted, something else is overriding it (see Troubleshooting).

Centering a heading across several columns

If you have a title like "Quarterly Sales Summary" in A1 and want it to appear centered over columns A to D, do not merge cells if you can avoid it. Select A1:D1, then open the Alignment group's dialog launcher (or right-click > Format Cells > Alignment tab) and set Horizontal to Center Across Selection. The text appears centered across the whole span, and — unlike merging — every cell keeps its own address, so sorting, filtering and formulas keep working. If you do merge (Home > Merge & Center), remember that only the top-left cell's value survives; anything in the other cells is discarded, and that cannot be undone except with Ctrl+Z.

On the Excel mobile app

Tap the cell, tap the formatting icon (usually a letter "A" with a paintbrush or a similar format button on the toolbar), open the Alignment section of the format panel, and choose the center alignment option for horizontal alignment. Drag the toolbar up if the icon is hidden. The behavior is identical — it changes display only.

Common Mistakes

  • Confusing horizontal and vertical centering. The Center button only handles left-to-right. Text in a tall row will still cling to the bottom until you also click Middle Align.
  • Merging cells when Center Across Selection would do. Merging breaks sorting, filtering, copy-paste of ranges and many formulas. Reserve merging for final presentation sheets.
  • Expecting numbers to center the same way as text. Numbers are right-aligned by default and text is left-aligned; the Center button overrides both equally, so the mismatch only confuses people who expect Excel to "know" what is text.
  • Centering the whole sheet accidentally. Clicking the triangle at the top-left corner of the grid selects every cell, and then Center applies everywhere. If your entire sheet suddenly looks centered, press Ctrl+Z immediately.
  • Forgetting that wrapped text needs a row height. If you turn on Wrap Text and the row height is too short, centered text gets clipped. Double-click the row boundary to auto-fit the height.

Tips

  • The Format Cells dialog (Ctrl+1 on Windows, Command+1 on Mac) gives you horizontal alignment, vertical alignment, indent and text direction in one place — handy when you are formatting a whole table.
  • Copy formatting instead of re-clicking buttons: select a centered cell, click Format Painter, then click the target cells.
  • Use the alignment buttons on the ribbon with a whole table selected so headers and body text line up consistently.
  • If you center a header row, consider bolding it as well so the centered look reads as a heading rather than a stray line.
  • Cell styles (Home > Cell Styles) include pre-built header styles that already center and bold the text.
  • For printouts, centering the page itself is a different setting: Page Layout > Margins > Custom Margins > Center on page (Horizontally/Vertically). It centers the printed sheet on paper, not the words in a cell.

Troubleshooting

The Center button is greyed out. This almost always means the sheet is protected or the workbook is in a restricted state. Go to Review > Unprotect Sheet (you may need a password). If the file is read-only, save a copy first.

Text still looks left-aligned. Check whether the cell contains a leading apostrophe or several spaces; both push the visible text around. Look in the formula bar. Also check that you are looking at the right cell — a highlighted button applies to the active cell, and your selection may have moved.

Centered text spills into neighboring columns. That happens when the cell has no wrap. Either widen the column, turn on Wrap Text, or use Center Across Selection over the adjacent empty cells.

The center did not stick after reopening. Confirm you saved the file in a format that keeps formatting, such as .xlsx or .xlsm. Saving as CSV strips all formatting — only the raw values survive.

Everything looks centered after a paste. Paste Special > Values will drop the formatting from the source and re-apply the destination's, which fixes a paste that carried unwanted alignment.

Frequently Asked Questions

What is the keyboard shortcut to center text in Excel?

Ctrl+E centers horizontally on Windows. On Mac, the ribbon alignment buttons are the straightforward route; Excel for Mac does not map a single default shortcut to horizontal centering.

Does centering change the data in the cell?

No. It is purely visual formatting. The value in the formula bar and any formulas that reference the cell are unchanged.

How do I center text vertically as well as horizontally?

Click Center, then click Middle Align in the same Alignment group. The row must be tall enough to see the effect.

Can I center text across multiple columns without merging?

Yes — select the cells and use Format Cells > Alignment > Horizontal > Center Across Selection. It looks the same as a merge but keeps every cell address usable.

Why won't my header center after I merged cells?

Merging keeps only the upper-left value. If the visible text came from a cell that got discarded, the merge appears to "lose" your heading. Undo, then use Center Across Selection instead.

Does centering affect how the sheet prints?

Only the cell content alignment carries into print. Centering the page on the paper is a separate Page Layout setting.