How to Reverse the X and the Y Axis in Excel – 4 Methods

The dataset showcases the yearly orders of an online shop. In the chart, Excel keeps the first column horizontally and the second column vertically by default.

How to Reverse X and Y Axis in Excel


Method 1 – Using the Select Data Option to Reverse the X and the Y Axis in Excel

Steps:

  • Right-click the chart.
  • Choose Select Data.

Using Select Data Option to Reverse X and Y Axis in Excel

  • Click Edit in Legend Entries.

Using Select Data Option to Reverse X and Y Axis in Excel

  • Click the icon marked in the image.

Using Select Data Option to Reverse X and Y Axis in Excel

  • Select the header of the first column and press ENTER.

Using Select Data Option to Reverse X and Y Axis in Excel

  • Click the icon marked in the image.

Using Select Data Option to Reverse X and Y Axis in Excel

  • Select the range of years and press ENTER.

Using Select Data Option to Reverse X and Y Axis in Excel

  • Click OK.

Using Select Data Option to Reverse X and Y Axis in Excel

To change the horizontal axis:

  • Click Edit in Horizontal (Category) Axis Labels.

  • Select the data range in the second column and press ENTER.

  • Click OK.

 


Method 2 – Using the Excel Format Axis Option to Reverse the X and the Y Axis

Steps:

  • Double-click the axis you want to reverse.
  • In Format Axis, click the X axis.
  • Click Axis Options and check Categories in reverse order.

Using Excel Format Axis Option to Reverse X and Y Axis

This is the output.

Using Excel Format Axis Option to Reverse X and Y Axis

  • To reverse the Y axis, double-click  it and check Values in reverse order.

Using Excel Format Axis Option to Reverse X and Y Axis

This is the output.


Method 3Applying the Switch Row/Column Command to Swap the X and the Y Axis

Steps:

  • Select the chart by clicking it.
  • Go to: Chart Design > Switch Row/ Column.

Applying Switch Row/Column Command to Swap X and Y Axis

Both columns are displayed on one axis.


Method 4 – Changing the Chart Type to Reverse the X and the Y Axis

Steps:

  • Click the chart.
  • Select Change Chart Type in Chart Design.

Changing Chart Type to Reverse X and Y Axis in Excel

  • In All Charts, click Bar.
  • Choose a chart option. Here, the first one.

This is the output.

Read More: How to Reverse Axis Order in Excel


Download Practice Workbook

Download the free Excel workbook.


<< Go Back To Format Axis in Excel | Excel Chart Elements | Excel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Sourov Hossain Mithun
Md. Sourov Hossain Mithun

Md. Sourov Hossain Mithun, an Excel and VBA Content Developer at Softeko's ExcelDemy project, joined in October 2021. Holding a Naval Architecture & Marine Engineering degree from BUET, Mithun showcases expertise during his two-year tenure. With over 200 published articles on Excel topics, he earned a promotion to Team Leader, excelling in leading diverse teams. Mithun's passion extends to Advanced Excel, Excel VBA, Data Analysis, and Python programming, contributing significantly to the innovative and dynamic environment of ExcelDemy... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo