PC Review


Reply
Thread Tools Rate Thread

Combining a 2-D column graph and a 2-D line graph on the same char

 
 
Filippo
Guest
Posts: n/a
 
      21st Feb 2010
I would like to show a 2-D column graph and a 2-D line graph on the same chart.
The independent variable on the X-axis (name of employee) is the same for
both graphs.
The dependent variables on the y-axis are different:
(1) years of experience (column graph), (2) cumulative years of experience
(line graph).
I need to use two different scales for the y-axis to make both graphs
visible, as the year of experience of the employees ranges between 1 and 40
years and the cumulative years of experience ranges between 1 and 1500 years.
The input data for the graphs are listed in three columns of a single
worksheet.
Could anybody make a suggestion about how to combine the graphs?
Many thanks
Filippo
 
Reply With Quote
 
 
 
 
trip_to_tokyo
Guest
Posts: n/a
 
      21st Feb 2010
I have just put up a file for you at:-

http://www.pierrefondes.com/

It is item number 69 towards the top of my home page.

The only thing I have changed from what you want is how you have structured
your underlying data. I have done it slightly differently (see Completed
_Chart Worksheet cells A 1 to G 3. You may, therefore, have to adapt your
method of working to what I have done.

Apart from that I think the chart does what you want it to do.

If my comments have helped please hit Yes.







"Filippo" wrote:

> I would like to show a 2-D column graph and a 2-D line graph on the same chart.
> The independent variable on the X-axis (name of employee) is the same for
> both graphs.
> The dependent variables on the y-axis are different:
> (1) years of experience (column graph), (2) cumulative years of experience
> (line graph).
> I need to use two different scales for the y-axis to make both graphs
> visible, as the year of experience of the employees ranges between 1 and 40
> years and the cumulative years of experience ranges between 1 and 1500 years.
> The input data for the graphs are listed in three columns of a single
> worksheet.
> Could anybody make a suggestion about how to combine the graphs?
> Many thanks
> Filippo

 
Reply With Quote
 
Filippo
Guest
Posts: n/a
 
      21st Feb 2010
Your reply answers the question as posted. I re-arranged my data and placed
them in the Excel file downloaded from your website. The two graphs were
plotted correctly on the same graph.
However, my actual task is a little more complicated. In addition to 'years
of experience' and 'cumulative years of experience' I need to plot 'years
with the company' (column graph) and 'cumulative years with the company'
(line graph). The chart will actually contain four graphs. The two line
graphs use the same scale on the right side of the chart and the two column
graphs use the same scale on the left of the chart.

I guess my questions are how can I add a graph to an existing chart and how
can I select the type of graph and the scale.

Many thanks for your help and sorry for asking an additional question!

Filippo


"trip_to_tokyo" wrote:

> I have just put up a file for you at:-
>
> http://www.pierrefondes.com/
>
> It is item number 69 towards the top of my home page.
>
> The only thing I have changed from what you want is how you have structured
> your underlying data. I have done it slightly differently (see Completed
> _Chart Worksheet cells A 1 to G 3. You may, therefore, have to adapt your
> method of working to what I have done.
>
> Apart from that I think the chart does what you want it to do.
>
> If my comments have helped please hit Yes.
>
>
>
>
>
>
>
> "Filippo" wrote:
>
> > I would like to show a 2-D column graph and a 2-D line graph on the same chart.
> > The independent variable on the X-axis (name of employee) is the same for
> > both graphs.
> > The dependent variables on the y-axis are different:
> > (1) years of experience (column graph), (2) cumulative years of experience
> > (line graph).
> > I need to use two different scales for the y-axis to make both graphs
> > visible, as the year of experience of the employees ranges between 1 and 40
> > years and the cumulative years of experience ranges between 1 and 1500 years.
> > The input data for the graphs are listed in three columns of a single
> > worksheet.
> > Could anybody make a suggestion about how to combine the graphs?
> > Many thanks
> > Filippo

 
Reply With Quote
 
AdamV
Guest
Posts: n/a
 
      23rd Feb 2010
As long as your data is a new series for the existing categories
(employees or teams or whatever), then you can simply select the new
range of data, copy (Ctrl-C or ribbon button) and then select the chart
and paste.
You can do this for new categories or new series, as long as they match
existing ones in size.

Now, after pasting your two new series you need to format each one and
choose to plot it on the primary or the secondary axis, depending on
which scale you want that one to have. You can only have two axes
maximum so you don't need to find a way to control the scale.

For each series you can simply right click and go to Change chart type
(in 2007 at least - you don't seem to say what version you are using?)

Hope this helps
Adam

On 21/02/2010 23:20, Filippo wrote:
> Your reply answers the question as posted. I re-arranged my data and placed
> them in the Excel file downloaded from your website. The two graphs were
> plotted correctly on the same graph.
> However, my actual task is a little more complicated. In addition to 'years
> of experience' and 'cumulative years of experience' I need to plot 'years
> with the company' (column graph) and 'cumulative years with the company'
> (line graph). The chart will actually contain four graphs. The two line
> graphs use the same scale on the right side of the chart and the two column
> graphs use the same scale on the left of the chart.
>
> I guess my questions are how can I add a graph to an existing chart and how
> can I select the type of graph and the scale.
>
> Many thanks for your help and sorry for asking an additional question!
>
> Filippo
>
>
> "trip_to_tokyo" wrote:
>
>> I have just put up a file for you at:-
>>
>> http://www.pierrefondes.com/
>>
>> It is item number 69 towards the top of my home page.
>>
>> The only thing I have changed from what you want is how you have structured
>> your underlying data. I have done it slightly differently (see Completed
>> _Chart Worksheet cells A 1 to G 3. You may, therefore, have to adapt your
>> method of working to what I have done.
>>
>> Apart from that I think the chart does what you want it to do.
>>
>> If my comments have helped please hit Yes.
>>
>>
>>
>>
>>
>>
>>
>> "Filippo" wrote:
>>
>>> I would like to show a 2-D column graph and a 2-D line graph on the same chart.
>>> The independent variable on the X-axis (name of employee) is the same for
>>> both graphs.
>>> The dependent variables on the y-axis are different:
>>> (1) years of experience (column graph), (2) cumulative years of experience
>>> (line graph).
>>> I need to use two different scales for the y-axis to make both graphs
>>> visible, as the year of experience of the employees ranges between 1 and 40
>>> years and the cumulative years of experience ranges between 1 and 1500 years.
>>> The input data for the graphs are listed in three columns of a single
>>> worksheet.
>>> Could anybody make a suggestion about how to combine the graphs?
>>> Many thanks
>>> Filippo

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
graph column line graph with two axes trichens Microsoft Excel Charting 1 26th Apr 2010 07:58 PM
Changing Line Graph Colors in Microsoft Graph Neil Ginsberg Microsoft Access 0 18th Nov 2008 06:45 PM
Changing Line Graph Colors in Microsoft Graph Neil Ginsberg Microsoft Access Reports 0 18th Nov 2008 06:45 PM
How do I graph data daily as a line graph across a calendar format =?Utf-8?B?R2xhbmk=?= Microsoft Excel Charting 3 23rd Nov 2007 09:05 AM
Cluster stacked graph AND line combo graph? robotman@gmail.com Microsoft Excel Charting 6 14th Oct 2006 12:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:32 PM.