How to rotate text in excel
Tutor 5 (273 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To rotate text in Excel, select the cell(s) you want to change, then use either the Orientation control on the Home ribbon or the Format Cells → Alignment → Orientation setting to set a preset angle or an exact degree value.
How can I quickly rotate text to a common angle?
To rotate text to a common angle, use the Orientation button on the Home tab.
-
Select the cell or range.
-
On the Home tab, find the Alignment group.
-
Click Orientation and choose a preset such as Angle Counterclockwise, Angle Clockwise, Rotate Text Up, or Rotate Text Down.
How do I set an exact rotation angle (for example, 30°)?
To set an exact rotation angle, open Format Cells and enter the degree value.
-
Select the cell or range.
-
Press
Ctrl + 1on Windows or⌘ + 1on Mac to open Format Cells. -
Click the Alignment tab.
-
In the Orientation section type
30in the degrees box or drag the orientation indicator to the desired angle. -
Click OK.
What is different between Windows and Mac?
-
Shortcut difference: Use
Ctrl + 1on Windows and⌘ + 1on Mac to open Format Cells. -
Ribbon layout difference: The Orientation command appears in the Home → Alignment group on both platforms, but the visual ribbon layout may differ slightly by Excel version.
-
Touch/gesture behavior: Excel for Mac may respond differently to trackpad gestures for rotating text boxes compared to Windows.
How do I rotate text inside a text box, shape, or chart element?
To rotate text inside a shape or text box, rotate the shape itself.
-
Click the text box or shape to select it.
-
Use the rotation handle (the circular handle above the shape) and drag to the desired angle.
-
For exact rotation, select the shape, go to Format Shape (right-click → Format Shape), open Size & Properties (or Size), and set the Rotation value to an exact degree.
Can I make text vertical or stacked?
Yes. Use either Orientation presets or Format Cells.
-
Select the cell(s).
-
Use Orientation → Rotate Text Up or Rotate Text Down for vertical.
-
For stacked letters, open Format Cells → Alignment and check Shrink to fit or set Text direction to vertical if available in your Excel version.
How do I rotate text for multiple non-contiguous ranges?
To rotate multiple non-contiguous ranges at once, select them with the keyboard and apply the same rotation.
-
Hold
Ctrl(Windows) or⌘(Mac) and click each range to select them. -
Use the Orientation button or
Ctrl/⌘ + 1 → Alignment → Orientationto set the angle. -
Excel applies the rotation to all selected ranges.
How do I reset rotated text back to horizontal?
To return text to horizontal orientation, choose the horizontal setting.
-
Select the rotated cell(s).
-
On the Home tab, click Orientation and pick Format Cell Alignment → Degrees = 0.
-
Alternatively, press
Ctrl + 1(Windows) or⌘ + 1(Mac) and set Orientation to0degrees.
Will rotating text affect cell height or wrap behavior?
Yes. Rotated text can change how Excel calculates row height and wrapping.
-
Statement: Rotated text can require taller rows or wider columns, so Excel will adjust row height only when Wrap Text or manual row height changes are applied.
-
Condition: If text is wrapped and rotated, some characters may be clipped unless you manually adjust row height or column width.
How do I apply rotation with a VBA macro?
To apply rotation programmatically, use a short macro.
-
Press
Alt + F11(Windows) or⌥ + F11(Mac) to open the VBA editor. -
Insert a module and paste this macro:
-
Select a cell range in Excel.
-
Run the macro.
Sub RotateSelectedText()
Dim rng As Range
Set rng = Selection
rng.Orientation = 45 ' change 45 to any degree you want
End Sub
-
What common issues should I watch for?
Merged cells: Rotating text in merged cells can produce unexpected alignment; avoid merging when precise layout is required.
-
Printing: Rotated text may require page setup adjustments to prevent clipping in printed output.
-
Readability: Steep angles reduce readability; prefer 45° or 90° only when necessary.
Where to find the Orientation controls step-by-step (short checklist)?
-
Select cell(s).
-
Home → Alignment → Orientation → choose preset.
-
For exact angle use
Ctrl + 1(Windows) or⌘ + 1(Mac) → Alignment → Orientation → enter degrees. -
For shapes/text boxes use the rotation handle or Format Shape → Size → Rotation.
-
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to sort by highlighted cells in excel
Answers · 1
How to sort excel by column and keep rows together
Answers · 1
How to sort by time in excel
Answers · 1
How to sort alphabetically in excel by last name
Answers · 1