Compare Annual Data With an Excel Clustered Stacked Chart
How can you create a chart from annual or monthly data, and make the results easy to understand? For example, this table shows meat production in the UK, per season, over 2 years, in thousands of tonnes.
I need a chart that shows the fluctuations in production for each meat type. Did production change much from 2002 to 2003? For all meat types? Are there seasonal differences in production?
Create a Clustered Column Chart
To start, I’ll create a Column chart, using the first 2-D Column chart type, which is a Clustered Column.
This chart is a bit crowded, but lets me compare the meat types within each year/season, or follow one type across all the year/seasons.
For my presentation I want to focus on the meat types, rather than the seasons, so I’ll switch the rows and columns.
This makes the meat types the categories along the x-axis, and the seasons are now series names in the legend.
Create a Stacked Column Chart
The chart is better, but I’d like to compare one season’s production to another, or compare the 2 years, so I’ll try a Stacked Column chart instead.
The Stacked Column chart is less crowded, and lets me compare the total production for each meat type. If I squint, I can almost see the sections for each season in the Lamb stack.
Create a Clustered Stacked Chart
The Stacked Column chart is close to what I want, but it doesn’t highlight the years and the seasons. I’d like to keep the Stacked Column chart, but with the years clustered, or the seasons clustered. Unfortunately, Excel doesn’t have a Clustered Stacked chart type, so I’ll have to create my own.
The key to creating a Clustered Stacked chart is to arrange the data with blank rows where you want columns separated, and the data for different columns is on separate rows. Jon Peltier describes all the gory details on his Clustered-Stacked Column Charts page.
In my data I’ll put the 2002 and 2003 data in separate rows, with a blank row after each meat type. There’s also a blank row before the first meat type, to create space at the left in the chart. The new arrangement looks like this:
I created a Stacked Column chart from this data, then changed the Gap Width to zero, and adjusted the series, to include the first and last blank rows. When it was finished, the Clustered Stacked Column chart looked like this:
The stack on the left of each pair is 2002 and the stack on the right is 2003. Now it’s clear that poultry production went up slightly in 2003, and the Other category went down.
Cluster By Season
To compare the meat types per season, I could change the data arrangement. Instead of four columns of 2002 data, then four columns of 2003 data, I could arrange the data by season, as shown below. The first two columns have the Winter data, and the other seasons follow.
With this data arrangement, the clusters have 4 stacks – one for each season.
With this arrangement, you can see that for all meat types, production is highest in the fall.
Clustered Stacked Chart Utility
If you don’t have the time or patience to arrange your data and create your own Clustered Stacked Column chart, Jon Peltier has just released his new Clustered Stacked Chart Utility.
Reasonably priced, the utility will quickly pay for itself, because you won’t have to waste your time fiddling with data arrangements and chart settings. Just select your data, click the Cluster Stack Chart button on Excel’s Ribbon (or Menu), select a couple of options, and click OK.
Instead of a long, painful process, the chart is created in a few seconds. A new sheet is inserted in your workbook, with data linked to your original data, and a shiny, new Clustered Stack Chart.
___________________________



March 19th, 2009 at 7:29 am
I found this post after 30 minutes of desperate googling. THANK YOU!!
March 19th, 2009 at 8:15 am
SapphireCate, you're welcome! Glad you found it.
March 31st, 2009 at 2:21 pm
Debra,
Thanks for posting this. I was helping a research student who was having difficulty creating paired stacked bars. Your tip on leaving blank cells worked like a charm.
March 31st, 2009 at 6:05 pm
Courtney, you're welcome! Thanks for letting me know that it helped.
May 27th, 2009 at 1:04 am
how to add sums, of all ckusters on each column of a STACKED chart ????
June 11th, 2009 at 2:07 pm
Works great until you switch the Y-axis to Logarithmic which makes some of the series vanish.
August 4th, 2009 at 1:42 pm
Wow. Thanks! I was even able to follow your example and I'm an excel n00b. Thanks for taking the time to put your tip online!
August 4th, 2009 at 11:58 pm
Thanks daveg, glad the instructions helped you!
March 11th, 2010 at 11:41 am
You're a life-saver - been after something like this for ages! Thank you!
May 5th, 2010 at 11:25 am
Thanks for this how-to. Other links from Google were useless.
May 5th, 2010 at 6:55 pm
Thanks Steve and Kevin, glad the instructions helped you.
May 30th, 2010 at 11:41 pm
Hey Debra - thanks so much for posting this. I just got asked how to do this by a user, a quick Google search and I found this right away. Nice easy instructions, this worked a treat with my user's data and they are very happy.
May 31st, 2010 at 11:01 am
Carlene, you're welcome! And thanks for letting me know that it helped you and made your users happy.
June 7th, 2010 at 9:51 pm
THANK YOU! I was so close it on my own and your instructions told me exactly what I needed to do.
June 7th, 2010 at 9:56 pm
You're welcome Tammy! Glad the instructions helped you solve the problem.