How to change axis labels order in a bar chart

Excel 365
Excel can display the data series in an inconvenient order for bar charts. For example, if you have a table with tasks for a Gantt chart, after creating a bar chart (see how to create a simple Gantt chart for more details), you expect to see tasks on the list arranged from top to bottom. Unexpectedly, Excel displays them in the reverse order:
Bar chart from lines in Excel 365

A similar inconvenient order Excel uses for the chart created from the table columns:

Bar chart from columns in Excel 365

See more about the competition chart.

To change the order of the labels on the axis, do the following:

   1.   Right-click the horizontal axis and click the Format Axis... in the popup menu (or double-click the axis):

Format Axis in popup menu Excel 365

   2.   On the Format Axis pane, on the Axis Options tab, in the Axis Options group:

  • Under Axis position, select the Category in reverse order checkbox to display the labels in the reverse order,
  • Optionally, under Horizontal axis crosses, choose the At maximum category option to return the horizontal axis on the bottom of the plot area:
    Reverse order in Format Axis pane Excel 365

Excel rebuilds the chart to display the axis labels in the reverse order:

Example of bar chart from lines in Excel 365
Example of bar chart from columns in Excel 365

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information you’ve provided to them or they’ve collected from your use of their services.

Learn more