In the figure above, the text in the cell in the active state is centered.
For information on how to center text in a cell, see the following article.
Shortcut key for center alignment in Excel
Select the cell you want to align right-align.
Press Alt + H + A + R. The text in the cell is now right-aligned.
Select the cell where you want the string to be over-aligned.
Press Alt + H + A + T. Text in the cell is now top-aligned.
Select the cell you want to center vertically.
Press Alt + H + A + M. The text in the cell is now centered vertically.
Select the cell that contains the text you want to bottom-align.
Press Alt + H + A + B. The text in the cell is now bottom-aligned.
This section describes how to change the position of text in a cell in the Format Cells dialog box. This section uses left-alignment as an example.
Select the cells you wish to left-align.
Press Ctrl + 1 or Alt + H + F + M. The Format Cells dialog box appears.
Press A and select the Alignment tab.
Press Alt + H. Select LEFT (indent) with ↓ (Down Arrow key).
Press Enter. Confirm that LEFT (indent) is selected.
Press Enter. The text in the selected cell is now left-aligned.
Please send us your comments on this article.