Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Reverse X Axis in Excel: Step-by-Step

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can reverse the x-axis in Excel so that the categories or values run from right to left instead of left to right. This is useful for charts like histograms, Gantt charts, or when you want to emphasize the most recent data on the left. You don't need any special tools—just a few clicks in the chart settings. The exact menu labels may differ slightly depending on your Excel version (Windows, Mac, or web), but the steps below work for the most common versions.

What You'll Need

  • An Excel chart that has an x-axis (e.g., column, bar, line, scatter, or area chart).
  • The chart should be selected and active on the worksheet.
  • Basic familiarity with right-clicking and using the Format pane.

Step-by-Step

  1. Select your chart. Click anywhere on the chart to select it. You'll see a border around the chart and the Chart Tools appear in the ribbon.
  2. Right-click the x-axis. Move your cursor over the horizontal axis (the numbers or category labels at the bottom). Right-click to open a context menu. Choose Format Axis. In older Excel versions, it might say Format Axis… or Format Axis at the bottom of the menu.
  3. Open the Axis Options. The Format Axis pane will open on the right side of the window (or a dialog box in some versions). Look for the Axis Options icon—it looks like a small bar chart with a gear or a set of three horizontal bars. Click it to expand the axis settings.
  4. Find the “Categories in reverse order” checkbox. In the Axis Options section, scroll down until you see a checkbox labeled Categories in reverse order. This is the key setting. Check that box.
  5. Watch the axis flip. As soon as you check it, the x-axis will reverse. The categories or numbers will now appear from right to left. If you have a scatter chart, the option might be labeled Values in reverse order instead—it works the same way.
  6. Adjust the horizontal axis position (optional). When you reverse the axis, the axis line itself may move to the top or right side of the chart. If you want the axis to stay at the bottom (for most charts), look for the Horizontal axis crosses section in the same pane. Choose At maximum category (or At maximum for scatter) to keep the axis at the bottom. This is often necessary to make the chart look normal after flipping.
  7. Close the Format Axis pane. Click the X in the corner of the pane or press Escape to dismiss it. Your chart is now reversed.

Common Mistakes

  • Right-clicking the plot area instead of the axis. If you right-click on the chart's plot area (the colored background), you'll get different options. Make sure you right-click directly on the axis labels or the axis line.
  • Selecting the wrong axis. In a chart with multiple axes (like a combo chart), you might accidentally format the secondary axis. Check that the pane says “Format Axis” and the axis you clicked is highlighted.
  • Forgetting to adjust the axis crossing. After reversing, the axis may move to the top. If you don't change the crossing setting, the chart can look upside down or misaligned.
  • Using the “Format Selection” button on the ribbon. That button works, but it applies to whatever element is selected. If the chart isn't selected, you might format the wrong thing.

Tips

  • Use the shortcut: After selecting the chart, you can also press Ctrl+1 (Windows) or Cmd+1 (Mac) to open the Format pane for the currently selected element. So select the axis first, then press that shortcut.
  • For bar charts: In a horizontal bar chart, the x-axis is vertical. The same checkbox works—it will reverse the order of categories from top to bottom instead of bottom to top.
  • Scatter charts: For scatter (XY) charts, the option is called “Values in reverse order.” It reverses the numeric scale, which can be handy for plotting data with negative values.
  • Combine with axis labels: If you reverse the axis, consider also reversing the data order in the worksheet if you want the legend or data labels to match the visual order.
  • Save a template: If you frequently need reversed axes, format a chart the way you like, then right-click the chart and choose “Save as Template.” You can then apply it to future charts.

Troubleshooting

If the axis doesn't reverse:

  • Make sure you're in the correct pane. The checkbox “Categories in reverse order” only appears for the x-axis, not the y-axis. If you don't see it, you might be formatting the wrong axis.
  • Check if you have a chart type that doesn't support axis reversal. Most standard charts do, but some custom chart types (like certain 3D charts) might not have this option. Try converting to a standard 2D chart.

If the axis labels disappear or become unreadable:

  • After reversing, the labels may overlap if the chart is small. Try increasing the chart size or reducing the font size of the axis labels.

If the chart looks upside down:

  • This usually happens because the horizontal axis crossed at the top. Go back to Format Axis > Axis Options and set “Horizontal axis crosses” to “At maximum category” (or “At maximum” for scatter).

If the option is grayed out:

  • This can happen if the axis is set to “Text axis” in some cases. Try changing the axis type to “Automatic” or “Date axis” if it's a date-based chart.

Frequently Asked Questions

Can I reverse the x-axis without changing the data?

Yes. The axis reversal is purely a display setting. Your underlying data stays exactly the same.

Does this work in Excel for Mac?

Yes. The steps are similar, but the Format Axis pane may look slightly different. Look for the same checkbox under Axis Options.

Can I reverse only the x-axis, not the y-axis?

Absolutely. You only need to format the x-axis. The y-axis remains untouched unless you explicitly change it.

What if I have a scatter chart with numeric x-values?

For scatter charts, the option is “Values in reverse order.” It reverses the numeric scale, so the highest value appears on the left.

Will reversing the axis affect the chart's data labels or trendlines?

No. Data labels and trendlines are tied to the data points, not the axis orientation. They will move with the reversed axis but remain accurate.

Can I reverse the axis in Excel Online (web version)?

Yes, Excel for the web supports this. Right-click the axis, choose Format Axis, and you'll find the same checkbox.