You can rotate text in Excel cells so it sits at an angle, using the Orientation button in the ribbon, the Format Cells dialog box, or a keyboard shortcut.
When I was working as a full-time analyst, one of my jobs was to prepare weekly reports for clients and stakeholders.
As a part of it, I had to make sure my reports were easy to read and also take less screen space (apparently, clients hate scrolling back and forth).
And the functionality of rotating text came in useful in such reports.
It’s especially useful when you have a bigger heading and a small number (as shown below). Here, headers in Row 1 take less space as these are at an angle (as compared to when they are horizontal).

In this tutorial, I will show you the step-by-step process to quickly rotate text in Excel.
Follow along with the example file
Rotate Text in Excel.xlsx
Rotate Text Using Ribbon Alignment Options
Suppose you have a weekly sales activity report as shown below, and you want to rotate the headers in B1:F1 so these columns can be narrower.

Below are the steps to rotate the text in the cells:
- Select all the cells that have the headers (B1:F1 in this example)

- Click the Home tab

- In the Alignment group, click the ‘Orientation’ icon

- In the options that show up, click on the ‘Angle Counterclockwise’ option

The above steps would rotate the text in the selected cells by 45 degrees. The columns are still as wide as they were, so the last step is to make them narrower.
- Select columns B to F and double-click the border between any two of the selected column headers

This uses AutoFit to fit each column to its content, and since the headers are at an angle, the columns become a lot narrower.
You’ll notice that each angled header leans to the right of its column, and the last one extends over the empty cells next to the data.
That’s just how Excel draws angled text (the cell borders tilt with the text), so nothing is wrong with your data.
In the same Orientation drop-down, you can also choose the options such as Angle Clockwise or Rotate Text Up. While there are some other options as well, I don’t use them (and not sure if anyone does).
While this is a quick way to rotate text in a cell, it gives you limited options. For example, what if you want the angle of the rotation a little more than 45 degrees (say 60 degrees).
You can do that as well, but for that, you need to use the next method covered in this tutorial.
Also read: How to Underline in Excel?
Rotate Text to Any Angle Using the Format Cells Dialog Box
This is a slightly longer method (takes a few extra clicks), but gives you a lot more control.
Suppose you have the same weekly sales activity report, and you want to rotate the headers in B1:F1 by exactly 60 degrees.

Below are the steps to do this:
- Select all the cells that have the headers (B1:F1)

- Click the Home tab
- In the Alignment group, click the ‘Orientation’ icon

- In the options that show up, click on the ‘Format Cell Alignment’ option

This opens the Format Cells dialog box with the Alignment tab selected.
- In the Orientation section on the right side of the dialog box, enter the degrees by which you want the text to be rotated in the Degrees box (60 in this example)

- Click OK

Pro Tip: You can skip steps 2 to 4 by pressing Ctrl + 1 after selecting the cells. This opens the Format Cells dialog box, where you can click the Alignment tab.
You can also click on the red dot in the Orientation option (in the same dialog box) and use the mouse to get the desired alignment.

The Degrees box accepts any value from -90 to 90. A positive number tilts the text upward, and a negative number tilts it downward.
This also means you can’t turn text upside down (180 degrees) inside a cell. If you need that, put the text in a text box and rotate the text box instead.
Also read: How to Write Vertically in Excel
Keyboard Shortcut to Rotate Text in Excel
If rotating the text is something you need to do a lot often, getting used to the shortcut to do this could save you some time.
Below is the keyboard shortcut to rotate text in the selected cells:
Shortcut: ALT + H + F + Q + O (press one after the other)
This applies the Angle Counterclockwise option, so the text in the selected cells is rotated by 45 degrees.
It’s a long keyboard shortcut, but still, the fastest way if you need to use this setting regularly.
Change the Text Orientation Back to Horizontal (Default State)
If you want to remove the rotated text and get back the regular horizontal text, you need to go back and disable the current setting (which you can do by clicking on the same option in the ribbon again).
For example, if you have the text in the Angle Counterclockwise setting, go to the same option and click on it again (it works as a toggle).
Or you can use the Format Cells dialog box (the second method covered in this tutorial) and set the orientation degrees to 0.
If you made the columns narrower after rotating the headers, they stay narrow, so AutoFit them again to fit the horizontal headers.
So these are some of the ways you can quickly rotate text in Excel.
I hope you found this tutorial useful!
Other Excel tutorials you may also like:
- How to Indent in Excel
- Insert Degree Symbol in Excel
- How to Remove Cell Formatting in Excel (from All, Blank, Specific Cells)
- How to Split a Cell Diagonally in Excel (Insert Diagonal Line)
- How to Split Screen in Excel (Compare Side-by-Side)
- How to Change Page Orientation in Excel?
- How to Wrap Text in Excel
- How to Make Cells Bigger in Excel