Adjusting the Angle of Axis Labels

Written by Allen Wyatt (last updated September 9, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365


1

Michael wonders if there is a way to format axis labels on his charts so that they are at an angle when compared to the actual axis line. He would like his axis labels to be at an approximate 45-degree angle.

How you go about adjusting the angle depends on the version of Excel you are using. If you are using Excel 2007 or Excel 2010, follow these steps:

  1. Right-click the axis labels whose angle you want to adjust. (You can only adjust the angle of all of the labels along an axis, not individual labels.) Excel displays a Context menu.
  2. Click the Format Axis option. Excel displays the Format Axis dialog box. (See Figure 1.)
  3. Figure 1. The Format Axis dialog box.

  4. Using the Custom Angle control, adjust the angle at which you want the axis labels to appear. You can set a positive or negative rotation, as desired.
  5. Click Close to dismiss the dialog box.

If you are using Excel 2013 or a later version, the steps are just a bit different. (They are largely different because Microsoft did away with the Format Axis dialog box, choosing instead to use a task pane.)

  1. Right-click the axis labels whose angle you want to adjust. Excel displays a Context menu.
  2. Click the Format Axis option. Excel displays the Format Axis task pane at the right side of the screen.
  3. Click the Text Options link in the task pane. Excel changes the tools that appear just below the link.
  4. Click the Textbox tool. (It is the right-most tool in the task pane. It looks like a sheet of paper.)
  5. Expand the options under the Text Box link. (See Figure 2.)
  6. Figure 2. The Text Box options in the Format Axis task pane.

  7. Using the Custom Angle control, adjust the angle at which you want the axis labels to appear. You can set a positive or negative rotation, as desired.
  8. Close the task pane.

Your changes should be immediately reflected in the axis labels.

There is one potential gotcha here—if is possible that you may want to set the angle for the axis label, but you discover that the Custom Angle control is grayed out. If this is the case, check to make sure that the Text Direction drop-down list is set to Horizontal. Any other setting here, and you won't be able to specify an angle.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (5139) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Removing the Box from a Text Box

Insert a text box and it is automatically formatted to have a border around it. Getting rid of the border is easy if you ...

Discover More

Understanding Templates

Templates are used to store a pattern for how a document should look. As such, they can be a very powerful tool for ...

Discover More

Determining If a File Exists

Your macro may need to know if a particular file exists. This is easy to figure out using the Dir command, and even ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Controlling the Plotting of Empty Cells

When creating a chart from information that contains empty cells, you can direct Excel how it should proceed. This tip ...

Discover More

Showing Elapsed Time in a Graph

Working with elapsed times can be a bit tricky in some situations. One such situation involves the displaying of elapsed ...

Discover More

Removing a Trendline Error Message

Excel allows you to add trendlines to your charted data. It is possible, though, that lately you've been seeing a ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 0 + 7?

2023-09-10 00:29:28

Sandy

Thanks for this tip.
I have regularly used angle adjustment in the past, but spent a fruitless hour looking for the current hiding spot yesterday. perfect timing!


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.