To reset the axis to it's default, visit axis options again and set the axis crossing to automatic, and untick the reverse order checkbox. Now, if I switch back to a column chart, the reversed axis comes along too. To fix this problem, you'll want to set the horizontal axis to cross at the maximum value.
So when I reverse the order, the axis moves along with Cuba. This is confusing, but the gist is that the horizontal axis is set to cross at the minimum or first value by default, which is Cuba in this case. Notice it also moves the horizontal axis to the right. If you have any doubts regarding this article or any other excel vba topic, do let me know in the comments. In excel 2016, the box and whiskers chart was introduced like many other chart types. We had to do a lot of work to get a useful and accurate box and whiskers chart. Using the + button to the right of the chart, add the legend and a title to the chart, if you wish so. When I check the box, Excel reverses the plot order. Before excel 2016, it was not easy to create a boxplot in excel. To draw the multiple boxplot, select the table with your data organized in columns (you may select as well the headers), then go to the tab Insert, find the icon Insert Statistic Chart and select Box & Whisker. There, near the bottom, you'll see a checkbox called "values in reverse order". To make this change, right-click and open up axis options in the Format Task pane. Luckily, Excel includes controls for quickly switching the order of axis values. It's the layout of the bar chart that makes it look like the data is reversed, since the values are plotted from the bottom to the top. The first value is plotted next to the origin, and subsequent values move away from the origin. Now, what happens if I change this chart to a bar chart?Īt first you might think that Excel changed the sort order of the axis labels.īut, if you look closely, the order is the same. The main thing to understand here is that the category labels start next to the origin, and each new value is plotted further away from the origin. In this case, the first column is Cuba, and the last is Barbados, so the columns match the order of the source data moving moving top to bottom.Ī line chart and area chart don't make sense for this data, but if I temporarily try them out, you can see the plot order stays the same. When Excel plots data in a column chart, the labels run from left to right to left. Let me insert a standard column chart and let's look at how Excel plots the data. Here we have data for the top 10 islands in the Caribbean by population.
#Create boxplot in excel 2016 how to
In this video, we'll look at how to reverse the order of a chart axis.