Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10
Default How to create a stacked bar, line combination chart

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?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 73
Default How to create a stacked bar, line combination chart

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!

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default How to create a stacked bar, line combination chart

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
_______


wrote in message
ups.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.

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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I create a combination stacked & cluster column chart? fullerdb Charts and Charting in Excel 1 April 3rd 06 06:22 PM
How do I create a stacked-bar/Line combination chart? Tang Daobo Excel Discussion (Misc queries) 1 January 20th 06 02:52 PM
combination stacked column and line data Cowtoon Charts and Charting in Excel 6 January 10th 06 07:31 PM
Combination chart stacked bar/line Kelvin Excel Discussion (Misc queries) 1 October 17th 05 09:58 PM
Custom Chart: Stacked Bar & Line Jim Garman Charts and Charting in Excel 1 March 27th 05 12:29 AM


All times are GMT +1. The time now is 04:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"