The fastest way to edit axis labels
Right-click directly on the horizontal axis labels themselves — the numbers or text running left to right at the bottom of your chart. A menu will appear. Click Format Axis. In the pane that opens on the right side, you can change the label text, angle, font size, and number format without touching your spreadsheet data.
If you want to change what the labels actually say (not just how they look), you need to edit the source data instead. The horizontal axis pulls its labels from your spreadsheet, so changing the chart won't change the labels permanently — they'll revert to the original data the next time Excel refreshes.
The method you use depends on whether you're adjusting the appearance of existing labels or replacing them with different text entirely.
Key Takeaways
- Right-click the horizontal axis labels and select Format Axis to change font size, angle, number format, and label spacing without editing your data.
- To change what the labels actually say, edit the cells in your spreadsheet that feed the chart, not the chart itself.
- You can rotate axis labels at any angle by opening Format Axis and adjusting the alignment settings under the Alignment tab.
- If your axis shows numbers instead of category names, you likely need to change the data range the chart is reading from.
Changing label appearance with Format Axis
Open your chart by double-clicking it. The chart enters edit mode and you'll see a gray border around it. Right-click on any of the horizontal axis labels at the bottom. Select Format Axis from the menu.
The Format Axis pane opens on the right. Click the Alignment tab. Here you can rotate the labels by entering a degree value in the "Custom angle" field — 45 degrees is common for long labels that overlap. You can also change text direction and label position.
To adjust font size, color, or style, click the Text Options tab, then expand Text Fill & Outline or Text Effects. These changes affect how the labels look but not what they say.
Replacing axis labels by editing source data
Click outside the chart to exit edit mode. Look at the cells in your spreadsheet that the chart is reading from. The horizontal axis labels come from a specific row or column — usually the first row or first column of your data range, depending on how the chart is set up.
Edit those cells directly. If your chart shows "January," "February," "March" along the bottom, find those words in your spreadsheet and change them. The chart updates automatically. This is the only way to permanently change what the labels say.
If you're not sure which cells feed the axis, double-click the chart, right-click the axis, select Format Axis, click the Axis Options tab, and look for "Categories" — this shows you the data range being used.
Rotating labels so they don't overlap
Long category names often overlap and become unreadable. Double-click the chart. Right-click the horizontal axis labels. Select Format Axis. Click the Alignment tab.
In the "Custom angle" field, enter a number between 0 and 360. Common angles are 45 degrees (diagonal) or 90 degrees (vertical). Click outside the chart when done. The labels rotate and usually stop overlapping.
If rotating doesn't help, you can also widen the chart itself by dragging its edge, or reduce the font size in the Text Options tab.
Changing number format on the axis
If your horizontal axis shows numbers (like sales figures or dates) and you want them to display differently, double-click the chart. Right-click the axis labels. Select Format Axis. Click the Number tab.
Choose a category from the list on the left — Currency, Percentage, Date, Time, or others. The preview shows how your numbers will look. Select the format you want and click outside the chart.
This is useful when your axis shows dates as numbers like "44562" instead of "1/15/2022", or when you want currency symbols or decimal places to appear.
Changing axis labels when they show the wrong data
Sometimes the horizontal axis shows numbers (1, 2, 3, 4) instead of the category names you expect. This usually means the chart is reading the wrong data range. Double-click the chart. Right-click the axis. Select Format Axis. Click Axis Options.
Look at the "Categories" field. It shows a cell range like $A$2:$A$10. This should point to the cells containing your category names. If it's blank or points to the wrong cells, click the range selector button (small icon next to the field) and drag to select the correct cells in your spreadsheet.
Click the range selector button again to confirm. The axis labels update to show the correct categories.
Hiding axis labels entirely
If you don't want labels to appear at all, double-click the chart. Right-click the horizontal axis labels. Select Format Axis. Click the Axis Options tab. Under "Label Position," select None. The labels disappear.
You can also control spacing and distance from the axis here. "Low" moves labels closer to the axis; "High" moves them farther away.
Frequently Asked Questions
Why do my axis labels overlap and look messy?
Long text overlaps when there's not enough space. Rotate the labels 45 or 90 degrees using the Alignment tab in Format Axis. You can also widen the chart, reduce font size, or shorten the text in your source data cells.
Can I use different labels than what's in my spreadsheet?
Not without editing the spreadsheet. The chart always pulls axis labels from the data range it's connected to. Change the text in those cells, and the chart updates. You cannot type new labels directly into the chart and have them stick.
How do I change axis labels from numbers to dates?
Double-click the chart, right-click the axis, select Format Axis, click the Number tab, and choose Date from the category list. Pick the date format you want. If the numbers still don't look like dates, your source data may not be formatted as dates in the spreadsheet.
What if I want to show only some of the axis labels?
Double-click the chart, right-click the axis, select Format Axis, click Axis Options, and change the "Interval between labels" value. Enter 2 to show every other label, 3 to show every third label, and so on.
Can I edit axis labels without opening the chart?
You can edit the source data in your spreadsheet without entering chart edit mode — just change the cells the chart reads from. But to adjust appearance (rotation, font, spacing), you must double-click the chart to enter edit mode first.