← All postsHow Do You Switch the Axes in an Excel Chart?

How Do You Switch the Axes in an Excel Chart?

Carlos GarciaCarlos GarciaPublished

How Do You Switch the Axes in an Excel Chart?

You built a chart, Excel guessed wrong about which data belonged where, and now the months are stacked up the side and your product names are running along the bottom.

The fix is usually one button. The problem is that "switch the axes" describes at least four different operations in Excel, and the one button only does one of them.

Most tutorials answer a different question from the one you asked. They show you Switch Row/Column, which is right about half the time, and leave you clicking it on a scatter chart where it was never going to help.

This guide separates the four jobs and names the first-party route for each.

Not sure your charts are telling the right story to begin with? A free SEO audit from SEO Stuff shows you which pages and reports are actually earning attention. Get your free audit.

What Is the Short Answer?

If you want to swap which set of data is plotted along the bottom and which is plotted up the side, select the chart, go to the Chart Design tab, and in the Data group select Switch Row/Column. That is Microsoft's documented route and it takes one click.

If you want the same data to stay where it is but run in the opposite direction, that is a different setting entirely.

You reach it through the Format tab, in the Current Selection group, with Format Selection, and then tick Categories in reverse order or Values in reverse order under Axis Options.

Those two are not interchangeable, and knowing which one you want before you start will save you most of the frustration this task is famous for.

Free audit

Where do you stand in AI search?

A manual SEO + AI search audit of your site: how ChatGPT, Gemini, Perplexity and Claude read and cite it today, and what to fix first. Report within 48 hours, no credit card.

Get my free audit

Or have it all done: AI SEO services, $999 once

What Does "Switch the Axes" Actually Mean in Excel?

The phrase gets used for four separate operations. They have different buttons, different outcomes, and different failure modes.

Swapping which data series goes on which axis

This is the common case. Your worksheet has months down one side and products across the top, and Excel has to decide which of those becomes the category axis and which becomes the series.

It guesses based on the shape of your selection, and it guesses wrong often enough that there is a dedicated button for correcting it.

Microsoft's own instruction for this is worth quoting because of how it frames the job: "Select any point in the chart that contains the data series you want to plot on different axes." The button is not reversing an axis.

It is reassigning which of your two dimensions is doing the work of the category axis.

Reversing the order along an axis

Here the data is on the right axis already, but it is running backwards. Your categories read December to January instead of January to December, or your value axis climbs from the top down.

Nothing needs reassigning. You just need the axis to read the other way, and that is a checkbox in the axis formatting options rather than a button on the ribbon.

Changing the chart's orientation

A column chart stands its bars upright. A bar chart lays them flat. If what you actually want is your long category labels running horizontally where there is room for them, no axis switching will achieve that.

You want a different chart type, and the data stays mapped exactly as it is.

Swapping X and Y on a scatter chart

This is the one that defeats people, and it is worth being precise about why. On a scatter chart, each series carries its own X values and its own Y values as separate properties.

They are not two rows of a block of data that Excel chose between. Reassigning rows and columns has nothing to swap, because the assignment was explicit from the start.

Getting the reporting right is half the work. The other half is making sure people find the pages your reports are measuring. Request a free SEO audit and see where you stand.

How Do You Use Switch Row/Column, Step by Step?

Microsoft's documented procedure assumes you already have a chart on the sheet. If you do not, build one first.

Step 1: select the chart. Click any point in the chart that contains the data series you want plotted differently. Microsoft notes that when you select the chart, Chart Styles appears and the Chart Design and Format tabs are added to the ribbon. Those two tabs only exist while a chart is selected, which is the single most common reason people cannot find this button.

Step 2: open the Chart Design tab. It sits alongside Format in the contextual group that appeared in step one. On older builds this tab is labelled differently, so go by position rather than by what an old tutorial shows you.

Step 3: find the Data group. It is one of the groups along the Chart Design tab.

Step 4: select Switch Row/Column. The chart redraws immediately. Your categories and your series have traded places.

Step 5: check the result rather than assuming it. Read the legend and the category labels. If the chart now says something different from what you meant, click the button again to go back. It is a straight toggle, so there is nothing to undo carefully.

The page documenting this applies to Excel for Microsoft 365, Excel 2024 and Excel 2021.

If you are on an older perpetual release, the button has existed for many versions, but the ribbon tab it lives on has been renamed more than once.

How Do You Reverse the Order Along an Axis?

This is the second job, and it is the one most often mistaken for the first.

Step 1: select the axis you want to reorder. Click the horizontal category axis to reorder categories, or the vertical value axis to reorder values. If clicking directly on a thin axis is fiddly, select the chart instead, then on the Format tab, in the Current Selection group, use the arrow next to the Chart Elements box to pick the axis by name.

Step 2: open the formatting options. On the Format tab, in the Current Selection group, select Format Selection.

Step 3: go to Axis Options. This is the category that holds the direction settings.

Step 4: tick the right box. For categories, select the Categories in reverse order check box. For values, select the Values in reverse order check box. On a 3-D chart with a depth axis, the equivalent is Series in reverse order.

One documented restriction is worth knowing before you plan a layout around this: you cannot reverse the plotting order of values in a radar chart.

Microsoft states that outright, and there is no workaround inside the chart options.

When Is Switching the Axes the Right Move?

Reach for Switch Row/Column when the chart is comparing the wrong thing.

If you have three products measured over twelve months, the chart can tell a story about products or a story about time, and only one of those is the story you sat down to tell. Switching is how you choose.

Reverse the axis order when a convention is being broken. Dates should read left to right. Rankings often read best with first place at the top, which on a value axis means reversing it.

Survey scales usually want to run from most negative to most positive. These are readability fixes, not analysis changes.

Change the chart type instead when the problem is space rather than mapping.

If your category labels are long enough to be printed at an angle or truncated, a horizontal layout solves it and no amount of axis switching will.

And on a scatter chart, go to the series definition. The Select Data Source dialog, reached from the Chart Design tab via the Data group and Select Data, is where a chart's series live.

Microsoft's Switch Row/Column page does not discuss chart types at all, so treat any tutorial promising that the ribbon button flips a scatter plot with suspicion.

Your charts are only as useful as the traffic they describe. Book a free SEO audit and find out which pages deserve a place in next quarter's report.

What Are the Limitations Worth Knowing?

Switch Row/Column is a toggle, not a setting. It has no memory and no on state you can see in the chart options. If you copy the chart, duplicate the sheet, or rebuild from a changed data range, Excel re-guesses, and your click does not carry over.

It depends on the shape of your source range. The button swaps two dimensions. If your data is a single row or a single column, there is no second dimension to swap into, and the button either does nothing visible or produces something nonsensical.

Reversing an axis changes where the other axis crosses it. Flip a value axis and the category labels can end up running along the top of the plot area instead of the bottom. That is the axis crossing point doing exactly what it was told, not a bug, but it is a second fix you were not expecting.

Microsoft does not document chart-type exceptions for Switch Row/Column. The page naming the procedure says nothing about which chart types it does or does not support, so the honest position is that the only restriction stated anywhere in this area is the radar-chart one for reverse order. Anything beyond that is inference, and we are not going to assert a dialog label we cannot source.

The ribbon labels have moved. Every tab, group and button label quoted here comes from Microsoft's current pages for Microsoft 365, 2024 and 2021. Older guidance naming a "Design" tab is not wrong about the button, only about where it lives.

Switching Axes vs the Alternatives

Versus editing the worksheet. You can always transpose the source range and rebuild the chart. It works, and it is sometimes the right answer if the sheet layout itself is wrong. But it is destructive to a layout other formulas may depend on, and Switch Row/Column achieves the same visual result in one click with no change to your data.

Versus the plotting order of series. Reordering series is a third, separate thing, and it has its own route: Chart Design, then Data, then Select Data, which opens the Select Data Source dialog with your series in the Legend Entries (Series) box and Move Up and Move Down arrows beside them. Use that when the series are on the right axes but stacked or coloured in the wrong sequence.

Versus a pivot chart. If you find yourself switching rows and columns repeatedly to look at the same data from different angles, you want a PivotChart rather than a static chart. Dragging a field between areas is the same operation made repeatable.

Final Thoughts

The reason this question is confusing is not that Excel hides the button. It is that four different problems share one piece of vocabulary.

Decide first whether you are reassigning data to axes, reversing a direction, changing the chart's shape, or editing a scatter series, and the route follows immediately.

Switch Row/Column on the Chart Design tab handles the first. Categories in reverse order and Values in reverse order under Axis Options handle the second.

A different chart type handles the third. The Select Data Source dialog handles the fourth.

If you want to go deeper on what belongs on each axis before you start moving things around, our guide to what the horizontal axis is on a graph covers how to label and format it properly once the data is in the right place.

Ready to make your analytics work harder? Get a free SEO audit from SEO Stuff and start with the pages that matter most.

Want this done for you?

SEO Stuff gets businesses cited by ChatGPT, Gemini, Perplexity and Claude, and ranking in Google. Start with the free audit, a call, or the package.

See where you stand

A free, manual SEO + AI search audit of your site, with a report within 48 hours. No credit card, no sales call.

Get my free audit

Talk it through

A free 15-minute call with the founder about whether AI search is a meaningful opportunity for your business.

Free strategy call

Have it done

The Done-For-You Package: audit, 10 pages of content, 3 DR50+ placements, dashboard. $999 once, delivered in 21 business days.

See the package