How to Change the X-Axis in Excel

Nowadays, nearly everyone uses Microsoft Office daily. Even though most people claim that they are proficient in Office, that is far from the truth. Excel, in particular, is not even remotely easy to use, especially if you’re not tech-savvy.

No matter if you’re a student, business owner, or you like graphs and charts, you need to know how to use Excel. One of the most asked questions regarding Excel is how to change the X-Axis, also called the horizontal axis.

Read on and find out how to do this, both in terms of the axis range and the axis intervals.

Excel Charts 101

Charts in Excel are not that complicated when you know what to expect. There is an X-axis and a Y-axis. The former is horizontal, and the latter is vertical. When you change the horizontal X-axis, you change the categories within it. You can also change its scale for a better view.

The horizontal axis displays either date or text, showing various intervals. This axis is not numeric as the vertical axis.

The vertical axis shows the value of the corresponding categories. You can use many categories, but mind the size of the chart, so it fits an Excel page. The best number of data sets for a visible Excel chart is between four and six.

If you have more data to show, perhaps split it into multiple charts, which isn’t hard to do. The X-axis changes we are about to show you should work in all versions of Excel, i.e., the Microsoft Office packages.

How to Change the X-Axis Range

The X-axis range is not hard to change, but you have to think in advance and decide what types of changes you want to make. You can change many things, including the axis type, labels of categories, their positioning, and the merging point of the X and the Y-axis.

Follow the steps to start changing the X-axis range:

  1. Open the Excel file with the chart you want to adjust.
  2. Right-click the X-axis in the chart you want to change. That will allow you to edit the X-axis specifically.
  3. Then click on Select Data.
    select source data
  4. Select Edit right below the Horizontal Axis Labels tab.
  5. Next, click on Select Range.
    select range
  6. Mark the cells in Excel, which you want to replace the values in the current X-axis of your graph.
    axis label rangeaxis label range
  7. When you select all the desired cells, tap on Select Range once more to confirm.
  8. Finally, click the OK button, and the values will be replaced with your selection.
  9. Click on OK once again to exit the Select Data Source window.

How to Edit the X-Axis

We also mentioned other changes, and here is how to make them. Follow the steps to make additional X-Axis changes:

  1. Open the Excel file containing the chart you want to change.
  2. Double-click the X-axis you want to edit.
  3. Choose Chart Tools.
  4. Then click Design, followed by Format.
  5. Select the Horizontal Axis arrow.
  6. Click on Axis Options, followed by Reverse, to change how categories are numbered.
  7. You can select the Axis Type to change the text-based chart into a date-based chart.
  8. If you want to change the merging point of the X and Y axes, select Axis Options and adjust the maximum value. Here you can change the interval of tick marks, thus changing the spacing in your chart.

How to Change X-Axis Intervals

Finally, you can also change the X-axis intervals. The process is different for a text-based and a date-based X-axis, so here are the individual instructions.

On a Date-Based X-Axis

Follow the steps to change date-based X-axis intervals:

  1. Open the Excel file with your graph.
  2. Select the graph.
  3. Click on Layout at the top of your screen, followed by Axes.
  4. Select More Primary Horizontal Axis Options.
  5. Click on the radio icon adjacent to Fixed and select the Major Unit.
  6. Click on the box next to the radio icon and type in the interval number you want. Select Days, Months, or Years next to this box, depending on your preference.
  7. Exit the menu with Close, and the changes will be saved.

On a Text-Based X-Axis

Follow the instructions to change the text-based X-axis intervals:

  1. Open the Excel file.
  2. Select your graph.
  3. Select the Layout option and then select the arrow to the left.
  4. Click on the Horizontal Axis.
  5. Choose Format Selection.
  6. Select the radio icon and click on the text box next to it.
  7. Type your desired interval in the box.
  8. Select Interval Between Tick Marks and type in the same number as in the previous step. You can also leave it at one.
  9. Close the window, and Excel will save the changes.

Horizontal Axis Changed

That is how you change the X-axis in an Excel chart, in any version of Microsoft Excel. By the way, you can use the same steps to make most of the changes on the Y-axis, or the vertical axis as well, depending on the type of change.

Excel is not an easy program, but hopefully, you managed to follow these steps and make the necessary changes to your charts. If you’d like to add something, please do so in the comments section below.

Leave a Reply

Your email address will not be published. Required fields are marked *

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.