Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / October 2006

Tip: Looking for answers? Try searching our database.

How to create a stacked bar, line combination chart

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
johns - 12 Oct 2006 16:12 GMT
I am having trouble creating a stacked bar  and line combination chart.  The
standard excel charts offer a bar and line chart option, but does not seem to
offer a
stacked bar and line option.

Has anyone done this type of chart?
robotman@gmail.com - 12 Oct 2006 18:15 GMT
I just asked a very similar question, but didn't get any answer.
However, I did figure out a way to get it to do what I wanted.

1.  Start with a plain stacked bar graph and chart everything you want
in that format.  If you choose 2 columns for your X-labels, Excel is
smart and will give you 2 levels of X-labels and will space your chart
columns according to the row spaces in your data layout.

2.  Put your line data next to your stacked bar data, but don't graph
it.

3.  Go to the chart and Add a new series under source data to the
chart.

4.  After adding this new series, click on it, change the axis to the
2ndary axis.  And choose change the chart type to "line."

5.  If you had spaces in your data table, put =N/A() function in the
spaces if you want to connect the data points in your line.  This will
but #N/A in your table (which you can make white if you don't want to
see it), but it is the only way to get Excel to continue the lines from
point to point.

Hope that made some sense... good luck!
Jon Peltier - 13 Oct 2006 03:42 GMT
A little easier:

Make your chart with all of the data, line and stacked column (note:
vertical bars are called columns in Excel). Select the series you want as a
line, and using Chart Type from the Chart menu, change it to a line.

You can keep the line series on the primary axis if you want.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______

>I just asked a very similar question, but didn't get any answer.
> However, I did figure out a way to get it to do what I wanted.
[quoted text clipped - 20 lines]
>
> Hope that made some sense... good luck!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.