Applies ToExcel for Microsoft 365 Word for Microsoft 365 Outlook for Microsoft 365 PowerPoint for Microsoft 365 Excel 2024 Outlook 2024 PowerPoint 2024 Excel 2021 Word 2021 Outlook 2021 PowerPoint 2021 Excel 2019 Word 2019 Outlook 2019 PowerPoint 2019 Excel 2016 Word 2016 Outlook 2016 PowerPoint 2016

In a chart you create, axis labels are shown below the horizontal (category, or "X") axis, next to the vertical (value, or "Y") axis, and next to the depth axis (in a 3-D chart). Your chart uses text from its source data for these axis labels.

Don't confuse the horizontal axis labels—Qtr 1, Qtr 2, Qtr 3, and Qtr 4, as shown below, with the legend labels below them—East Asia Sales 2009 and East Asia Sales 2010.

Change the text of the axis labels

  1. Click each cell in the worksheet that contains the label text you want to change.

  2. Type the text you want in each cell, and press Enter.

    As you change the text in the cells, the labels in the chart are updated.

Make label text that's different from the worksheet labels

(This procedure only works in Excel) To keep the text in the source data on the worksheet the way it is, and just create custom labels in the chart, you can enter new label text that's independent of the worksheet data:

  1. Right-click the category labels you want to change, and click Select Data.Right-click the category axis and Select Data

  2. In the Horizontal (Category) Axis Labels box, click Edit.

  3. In the Axis label range box, enter the labels you want to use, separated by commas.

      Changing labels in the chart only

    For example, type Quarter 1,Quarter 2,Quarter 3,Quarter 4.

Change the format of text and numbers in labels

To change the format of text in category axis labels:

  1. Right-click the category axis labels you want to format, and click Font.

  2. On the Font tab, choose the formatting options you want.

  3. On the Character Spacing tab, choose the spacing options you want.

To change the format of numbers on the value axis:

  1. Right-click the value axis labels you want to format.

  2. Click Format Axis.

  3. In the Format Axis pane, click Number.

    Tip: If you don't see the Number section in the pane, make sure you've selected a value axis (it's usually the vertical axis on the left).

    Number option in the Format Axis pane

  4. Choose the number format options you want.

    Format Number options for value axis

    If the number format you choose uses decimal places, you can specify them in the Decimal places box.

  5. To keep numbers linked to the worksheet cells, check the Linked to source box.

    Note: Before you format numbers as percentages, make sure that the numbers shown on the chart have been calculated as percentages in the worksheet, or are shown in decimal format like 0.1. To calculate percentages on the worksheet, divide the amount by the total. For example, if you enter =10/100 and format the result 0.1 as a percentage, the number is correctly shown as 10%.

Tip: An axis label is different from an axis title, which you can add to describe what's shown on the axis. Axis titles are not automatically shown in a chart. To add them, see Add or remove titles in a chart.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.