Problem: I need to create two stacked columns clustered with a third column.
- This is harder than it looks.
Strategy: This chart uses two rogue series and a hidden secondary axis. Follow these steps carefully.
- Add two blank series between Series 1b and Series 2. Fill with zeroes.
- Two extra series.
- Create a stacked column chart from all five series.
- If you are plotting quarters, Excel will put the wrong data along the horizontal axis. Click the Switch Row/Column icon to move the Series 1a, Series 1b, and so on to the legend.
- Go to the Layout tab in the ribbon. Use the leftmost dropdown to choose Series 2.
- Click Format Selection to open the Format Dialog box.
- Choose Secondary Axis. Don't close the Format dialog box.
- Go back to the dropdown and choose Series Blank 1.
- In the Format dialog box, choose Secondary Axis.
- Go back to the dropdown and choose Series Blank 2.
- In the Format dialog box, choose Secondary Axis.
- Go back to the dropdown and choose Series 2.
- Go to the Design tab of the ribbon. Choose Change Chart Type. Choose the first column chart, known as a Clustered Column Chart. This changes all three of the series that use the secondary axis.
At this point, you finally have something that looks almost correct. There are still several things to fix:
- The left vertical axis is using a different scale than the first.
- The stacked column is wider than the clustered column.
- There are two extra entries in the legend.
- You really don't need to show the secondary axis once you make them have the same scale.
- You are starting to get close.
By the way, those two extra blank series are there to move Series 2 to the right. If you entered 100 and 200 in those series, you would see how they are pushing Series 2 over to the right of the stacked column.
- Here, the two blank series are moving Series 2 to the right.
The remaining steps assume the Format dialog box is still open.
- Click on the right vertical axis. In the Format dialog, change the first three settings from Auto to Fixed. Make a note of the settings in those three boxes.
- Click on the left vertical axis. Make six changes in the Format dialog box. Change the first three settings from Auto to Manual. Click in the box next to manual. Type the same values from step 13 into the boxes next to manual. This will make sure that both axis have the same scale.
- Click on one of the stacked series to select it. In the Format dialog box, change the gap width to 300%. This will make the stacked column less wide and about the same size as the third column.
- In the legend, click once on Blank 1, then do a second single click on Blank 1 to select only that item in the legend. Press Delete to Delete that entry.
- Do two single clicks on Blank 2 in the legend. Press Delete.
- In the Layout tab, choose Legend, Show Legend at Top.
- Click on the right vertical axis. Press Delete.
This whole set of steps is demonstrated in Learn Excel Podcast Episode 1091.
Gotcha: This only works with one stacked column and one non-stacked column. If you need both columns to be stacked, it will not work. Jon Peltier sells a cool utility to solve this.