Data in cells can be aligned horizontally and vertically.
To align data horizontally, use one of the commands described in the table below.
Cell position |
Button on the Home tab, in the Alignment group |
Command from the command menu in macOS |
Keyboard shortcut |
|
|---|---|---|---|---|
Windows, Linux |
macOS |
|||
Align left |
|
Format > Alignment > Left |
Ctrl+L |
⌘Cmd+L |
Center |
|
Format > Alignment > Center |
Ctrl+E |
⌘Cmd+E |
Align right |
|
Format > Alignment > Right |
Ctrl+R |
⌘Cmd+R |
Justify |
|
Format > Alignment > Justify |
Ctrl+J |
⌘Cmd+J |
To align data vertically, use one of the commands described in the table below.
Cell position |
Button on the Home tab, in the Alignment group |
Command from the command menu in macOS |
|---|---|---|
Top |
|
Format > Alignment > Top |
Middle |
|
Format > Alignment > Middle |
Bottom |
|
Format > Alignment > Bottom |