Save a Broken Chart with Switch Columns/Rows in Chart Tools

Broken ChartExcel’s Insert Chart feature is usually pretty smart about choosing the data that you want for your graphs and other visualizations, but sometimes it seems to have lost its mind. Before you give up and manually select all those data series, try this quick trick to save your chart…

You know the situation. You have a perfectly clean data set and you want to put it in a chart, so you select the rows and columns and select a chart from the Insert menu:

Insert Stacked Column Chart

All the right fields look right, but Excel has gotten a case of the stupids and the chart isn’t what you wanted:

Chart with Flipped Data

Sometimes, though, the problem is just a case of flipped data. This happens often enough that Excel has a feature to swap fields, turning columns into rows and rows into columns to fix the chart. All you have to do is select your broken chart, choose the Design menu from the Chart Tools group.

Design Menu from Chart Tools Group

Then click on the Switch Row/Column button to right the wrongs on your beautiful chart.

Switch Row/Column Button

That’s it! Now your chart should look nice and pretty as you intended all along. No manual data entry, and no tedious tweaking! Your final output should look like this:

Corrected Data Chart

 

Get the latest Excel tips and tricks by joining the newsletter!

Andrew Roberts ThumbnailAndrew Roberts has been solving business problems with Microsoft Excel for over a decade. Excel Tactics is dedicated to helping you master it.

Join the newsletter to stay on top of the latest articles. Sign up and you'll get a free guide with 10 time-saving keyboard shortcuts!

Other posts in this series...

Leave a Reply

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