You rotate text in Excel with the Orientation control on the Home tab: select the cells, click the small arrow on the Orientation button (it looks like slanted "ab"), and pick Rotate Text Up, Rotate Text Down, Angle Counterclockwise, Angle Clockwise, or Format Cell Alignment for an exact degree. If you only need a column heading to read vertically so it fits over a narrow column, that is the whole job and the steps below take under a minute.

All of the instructions below are written for Excel on Windows and Mac desktop, where the ribbon and the Format Cells dialog both exist. Excel for the web has a smaller Orientation menu and mobile apps vary, so a few labels can differ slightly by version, device and region. Where that matters, the steps say so.

What You'll Need

  • A workbook open in Excel for Windows, Mac, or Excel for the web. Desktop is best if you want exact angles.
  • The cell, cells, row, column, or chart title you want to rotate selected.
  • Nothing else. No add-ins and no extra software are required.

Step-by-Step

  1. Select what you want to rotate. Click one cell, or drag across a range. To rotate every heading in a row, click the row number. If you are rotating a single heading cell, remember that row heights and column widths may need adjusting afterwards.
  2. Go to the Home tab. The Orientation button lives in the Alignment group, on the right-hand side of the ribbon next to Wrap Text, Merge & Center and the indent arrows.
  3. Click the Orientation button. It shows a small slanted "ab" and a drop-down arrow. Clicking the arrow opens a short menu of preset options.
  4. Pick a preset. "Rotate Text Up" turns the text 90 degrees counterclockwise so it reads bottom to top. "Rotate Text Down" turns it 90 degrees clockwise so it reads top to bottom. "Angle Counterclockwise" and "Angle Clockwise" apply Excel's preset diagonal angle, typically 45 degrees. The preview icons in the menu show exactly which way each one turns.
  5. Check the result. Rotated text stays inside its cell but can be clipped if the row is too short. Drag the row boundary (the line between row numbers) down to give the text room, or drag the column boundary to adjust width.
  6. Set an exact angle with Format Cells. If the presets are not precise enough, press Ctrl+1 (Command+1 on Mac) to open Format Cells, or right-click the selection and choose Format Cells. Go to the Alignment tab. The Orientation control there is a small dial: drag the red marker, or type the number of degrees into the box beside it, or click the vertical "Text" box to snap straight to 90 degrees.
  7. Decide on auto-fit. On that same Alignment tab, an "Autofit" checkbox can be cleared to stop Excel from resizing the row or column automatically. Clearing it is useful when you want your existing widths to stay fixed. Click OK to apply.
  8. Repeat or copy the formatting. To apply the same angle elsewhere, use Format Painter (Home tab, clipboard group, then click the target cells) or use Paste Special > Formats after copying a rotated cell.

Common Mistakes

Rotating the whole sheet by mistake. Orientation is per cell, not per sheet. If half your table is slanted and half is not, you formatted a partial selection. Select the exact range and apply the preset again to unify it.

Expecting a column header to auto-resize. A 90-degree heading usually needs a much taller row. Excel will often adjust, but merged cells block auto-fit, so unmerge first or set the row height manually.

Confusing Orientation with text direction. The vertical 90-degree icons near Orientation in some versions control text direction for right-to-left languages; they do not slant text. If nothing looks rotated, you clicked the wrong control.

Rotating inside merged cells. Merged cells accept rotation, but wrapping and auto-fit behave unpredictably. Use Center Across Selection instead of merging where possible.

Assuming the angle carries into charts. Chart axis titles and data labels have their own rotation setting, usually reached by right-clicking the title or label, choosing Format Axis Title or Format Data Labels, then the Size & Properties or Text Options area. Rotating a cell does nothing to a chart.

Tips

  • Use 90-degree rotation for long column headings in narrow columns (months, names, metric labels). The column stays slim and the heading still reads.
  • 45-degree diagonal headings work well when you need to point at the column they belong to, but keep them short. Three or four words is the practical limit before the row becomes enormous.
  • Combine rotation with Wrap Text and vertical alignment (Top, Center, Bottom) so multi-line rotated headings stay tidy.
  • Type the degrees rather than dragging the dial when you need repeatable results across a workbook.
  • If the text disappears completely, it is usually negative or near-180-degree rotation in a short row, or white font on a white fill. Reopen Format Cells and check both.
  • Keep one rotation angle per table. Mixing 45 and 90 degrees in the same header row looks accidental.

Troubleshooting

The text is cut off. Increase row height and column width. Merged cells and a cleared Autofit checkbox are the usual culprits; unmerge and re-check the Alignment tab.

Nothing changes after clicking a preset. Confirm something is actually selected and that you are not in cell edit mode (press Enter or Esc first). If you are editing inside a cell, ribbon alignment commands are greyed out.

The Orientation button is greyed out. This happens when the sheet is protected or the workbook is in a restricted view. Ask the owner to unprotect the sheet, or check Review > Unprotect Sheet if you know the password.

Text rotates but the cell still looks wrong. Check horizontal and vertical alignment on the Alignment tab, and confirm the cell is not set to a shrink-to-fit option that squeezes rotated text.

The rotation resets when you paste. Pasting values only drops the formatting. Use Paste Special > Formats, or use Format Painter.

Excel for the web behaves differently. The web app offers fewer orientation choices and no full alignment dial. Open the file in desktop Excel for exact angles, then it will display in the browser.

Frequently Asked Questions

Can I rotate text by any angle, not just 45 or 90 degrees?

Yes, on desktop Excel. Open Format Cells (Ctrl+1 or Command+1), go to Alignment, and type the exact number of degrees into the Orientation box. Excel allows a wide range, typically up to 90 degrees up or down.

Does rotating text change the data inside the cell?

No. Rotation is formatting only. The underlying value stays the same, so formulas, sorting and filtering are unaffected.

How do I undo a rotation?

Select the cells, open the Orientation menu, and choose Horizontal (or select Horizontal from the orientation dial in Format Cells). Ctrl+Z immediately after rotating also reverses it.

Why is my rotated heading overlapping the row above?

The heading is aligned to the bottom of a row that is too short. Increase the row height, or set vertical alignment to Bottom and add space above with a taller row.

Can I rotate text in Excel on my phone?

The mobile apps have limited alignment options and typically do not include the full Orientation menu. Make the change on desktop or in Excel for the web, and the saved formatting will show on mobile.

Will rotation survive when I export to PDF?

Yes. Rotation is part of the print layout, so the PDF keeps the angle as long as the cell is fully visible in the printed range. Check Print Preview first if a row looks clipped.