# Combinaton Stacked Bar & Line Graph

Combinaton Stacked Bar & Line

3 replies to this topic

### #1 MikeyMike

MikeyMike

Member

• Members
• 28 posts

Posted 20 March 2015 - 02:18 PM

How can I create a stacked bar chart with a line for another type of data?

### #2 Jonathan

Jonathan

• 888 posts

Posted 20 March 2015 - 08:17 PM

Hi MikeyMike,

You should be able to create a combination Stacked Column/Line chart in exactly the same way as you'd create any other combination chart.

You can see a walkthrough of creating a combination chart in the video lesson: Essential Skills Lesson 5-24 Create a combination chart containing different chart types.

I have attached an example chart:

Please feel free to reply if you're still having trouble creating the chart you need after watching the video.

Jonathan is part of the professional team who answer Excel-related questions posted on the ExcelCentral.com forums.
Jonathan also tests our courses prior to publication and has worked on all of our ten world bestselling Excel books for Excel 2007, Excel 2010, Excel 2013, Excel 2016 for Windows and Excel 2016 for Apple Mac. Jonathan has also worked on over 850 video lessons for or video courses covering Excel 2007, Excel 2010 and Excel 2013.
As well as extensive Excel knowledge, Jonathan has worked in the IT world for over thirteen years as a programmer, database designer and analyst for some of the world's largest companies.

### #3 MikeyMike

MikeyMike

Member

• Members
• 28 posts

Posted 20 March 2015 - 09:31 PM

I'm looking to do a cluster chart (side by side) with the last bar stacked.

### #4 Jonathan

Jonathan

• 888 posts

Posted 21 March 2015 - 11:35 AM

You can't select a different chart type for the last bar, but you can achieve the result you need by using an ordinary Stacked Column chart and manipulating the data so that it looks the way you want it to.

To do this, you'll just need to sum together the values for the bars that you want to appear as ordinary columns, but leave the bars that you want to appear 'stacked' as separate values.

You can see how I've done this in my attached example that uses exactly the same data as the example above:

In this example the chart is generated from columns E, F and G instead of B, C and D.

Column E adds together the values from the other columns in order to produce solid bars, except in May and December, where the values are left as-is to produce clustered bars.

I've used the SUM function to add the values together.

You can find more about SUM in the video lesson: Expert Skills Lesson 3-2 Create an Excel SUM function using Formula AutoComplete.

I hope you're now able to create the chart you need, but if you still need help you can attach a copy of your workbook and I will take a look at it.  You can find instructions on attaching workbooks by clicking here.

Jonathan is part of the professional team who answer Excel-related questions posted on the ExcelCentral.com forums.
Jonathan also tests our courses prior to publication and has worked on all of our ten world bestselling Excel books for Excel 2007, Excel 2010, Excel 2013, Excel 2016 for Windows and Excel 2016 for Apple Mac. Jonathan has also worked on over 850 video lessons for or video courses covering Excel 2007, Excel 2010 and Excel 2013.
As well as extensive Excel knowledge, Jonathan has worked in the IT world for over thirteen years as a programmer, database designer and analyst for some of the world's largest companies.

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users