Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

How to Change Axis Values in Excel

In Select Data chart option we can change axis values or switch x and y axis If we want to edit axis or change the scaling in the graph we should go to Format Axis options.

This step by step tutorial will assist all levels of Excel users in learning how to change axis values .

How to Change Horizontal Axis Values

In the example we have a chart with Years on x-axis and Sales values on the y-axis:

Figure 1. How to change x axis values

To change x axis values to “Store” we should follow several steps:

  • Right-click on the graph and choose Select Data:

Figure 2. Select Data on the chart to change axis values

  • Select the Edit button and in the Axis label range select the range in the Store column:   

Figure 3. Change horizontal axis values

Figure 4. Select the new x-axis range

  • As a result, we changed x axis values from Years to Stores

Figure 5. How to change the x axis to Store values

How to Change Vertical Axis Values

To learn how to change vertical axis values, we should follow almost similar steps as in the example above:

  • Right-click on the graph and choose Select Data:

Figure 6. Select Data on the chart to change y axis values

  • Select the Edit button in the Legend Entries (Series) and in the Series values select the range from the bottom Sales column:   

Figure 7. How to edit y axis

Figure 8. How to change y axis

  • As a result, we changed the y axis values:

Figure 9. How to change vertical axis values

How to Change the Axis Range

To change the scale on the graph we should go to Format Axis options. In our example, we will change the minimum scale to 15,000 and maximum scale to 55,000 on the vertical axis.  

If we want to change the axis scale we should:  

  • Select the axis that we want to edit by left-clicking on the axis
  • Right-click and choose Format Axis
  • Under Axis Options, we can choose minimum and maximum scale and scale units measure
  • Format axis for Minimum insert 15,000, for Maximum 55,000

As a result, the change in scaling looks like the below figure:

Figure 10. How to change the scale

How to Switch X and Y Axis

Another interesting chart feature that we will learn is how to switch x and y axis.

  • Right-click on the chart and choose Select Data
  • Click on the button Switch Row/Column and press OK

Figure 11. Switch x and y axis

As a result, switches x and y axis and each store represent one series:

Figure 12. How to swap x and y axis

The chart will have more logic if we track store values per years. In the following example, we want to change sales values to yearly sales values per store (upper table).

Figure 13. How to change axis

  • Click on the chart and drag values from the source table to the upper table by left mouse click:

 Figure 14. Change the chart data source

  • Change the range to both years (2018 and 2019) by clicking on the down-right corner and expanding the selection to the right:

 Figure 15. Expand the chart data source

  • Change the values from the x-axis to the “Years” by selecting in the Axis label range cell range I2:J2 (explained in the tutorial above)
  • Finally, we changed the axis with sales value data per stores and years:

Figure 16. How to edit x axis

Instant Connection to an Excel Expert

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Leave a Comment


Subscribe to

Get updates on helpful Excel topics

Subscribe to
Trusted by people who work at, Inc
Facebook, Inc
Accenture PLC
Siemens AG
The Allstate Corporation
United Parcel Service
Dell Inc