Select the cells and press Alt, H, A, C, one key after another, to centre the contents horizontally. This is the key tip for Home → Center in the Alignment group, and pressing it again removes the centring.
To centre vertically between the top and bottom of the cell, press Alt, H, A, M (Middle Align). Use both when text needs to sit in the middle of a tall row.
To centre a heading across several columns without merging, select the heading and the columns it should span, press Ctrl + 1, and on the Alignment tab set Horizontal to Center Across Selection. It looks like Merge & Center (Alt, H, M, C) but does not block sorting or copying and pasting the way merged cells do.
Ctrl + E, the centre shortcut in Word, runs Flash Fill in Excel instead. The Alt key tips work only in Windows Excel; on a Mac, use the Center button on the Home tab.
By default Excel puts text on the left and numbers on the right. If a number sits on the left before you centre it, it is stored as text, and centring hides the clue; convert it with Data → Text to Columns → Finish before you total it.
Latest Video Tutorial – 10 Excel Keyboard Shortcuts (Probably YOU are NOT Using)
Whenever you enter a value in a cell, Excel by default aligns numbers to the right of the cell and text to the left of the cell.
But Excel also has the option to adjust or change the alignment of the cell value to the right, left, or center of the cell, which means you can change the position of the value at any time based on your needs.
In this tutorial, we have explained how to align values to the center using a keyboard shortcut.
Steps to Align Center Using Keyboard Shortcut
- First, go to the cell or select the cell range, where you want to align the value in the center.
- Now, simply press Alt → H → A → C in sequence and you will get the value aligned to the center.
The same shortcut works as a toggle: press Alt → H → A → C again to remove the center alignment and go back to the default alignment.
Center Vertically and Across Cells
- Middle Align: Alt → H → A → M centers the value between the top and the bottom of the cell.
- Merge & Center: Alt → H → M → C merges the selected cells and centers the value, but merged cells can cause trouble with sorting and copying.
- Center Across Selection: press Ctrl + 1, go to the Alignment tab, and choose Center Across Selection in the Horizontal box. It centers a title across cells without merging them.
- Mac: in Excel for Mac, press Command + E to center the value.
Frequently Asked Questions
Why is my number not centered?
If the column is too narrow, Excel shows #### instead of the number. Make the column wider, and check that the cell doesn’t have a custom number format with spaces or a fill character.
Can I center text in a whole column?
Yes. Select the column by clicking its header (or Ctrl + Space) and press Alt → H → A → C.
Does center alignment change the value?
No. It only changes how the value is shown in the cell, so formulas that use the cell keep working the same way.