A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do i make a chart with two seperate lines of data?



 
 
Thread Tools Display Modes
  #1  
Old October 18th, 2006, 11:55 PM posted to microsoft.public.excel.charting
Jason
external usenet poster
 
Posts: 713
Default how do i make a chart with two seperate lines of data?

hi

i have a historical sales chart from Mar 2003 to present that i'm trying to
graph.

however, excel is making me keep the data in one straight line

if i try to seperate it into two rows, it adds another bit to the chart

how do i graph sales using two seperate lines of data?
  #2  
Old October 19th, 2006, 07:37 PM posted to microsoft.public.excel.charting
Andy Pope
external usenet poster
 
Posts: 2,088
Default how do i make a chart with two seperate lines of data?

Hi,

This is best done in 2 steps. Create the chart with the first set of
data. Then use the Source Data dialog to reselect the 2 data ranges,
using the CTRL key to select the 2 separate ranges.

So for data that is in the range A1:E1 continued in A2:E2 you would end
up with a series formula like this,

=SERIES(,,(Sheet1!$A$1:$E$1,Sheet1!$A$2:$E$2),1)

Cheers
Andy

Jason wrote:
hi

i have a historical sales chart from Mar 2003 to present that i'm trying to
graph.

however, excel is making me keep the data in one straight line

if i try to seperate it into two rows, it adds another bit to the chart

how do i graph sales using two seperate lines of data?


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3  
Old October 19th, 2006, 10:23 PM posted to microsoft.public.excel.charting
Jason
external usenet poster
 
Posts: 713
Default how do i make a chart with two seperate lines of data?

thanks andy

when i select the first step the source data is this
=Sheet1!$A$1:$E$2 with row 1 being years and row 2 being sales data

when i select the next data it says "reference not valid" and looks like this
=Sheet1!$A$1:$E$2+Sheet1!$A$7:$E$8

i even tried to copy and paste your formula in and it says "that function is
not valid" and highlights the SERIES in the formula

thanks for your help







"Andy Pope" wrote:

Hi,

This is best done in 2 steps. Create the chart with the first set of
data. Then use the Source Data dialog to reselect the 2 data ranges,
using the CTRL key to select the 2 separate ranges.

So for data that is in the range A1:E1 continued in A2:E2 you would end
up with a series formula like this,

=SERIES(,,(Sheet1!$A$1:$E$1,Sheet1!$A$2:$E$2),1)

Cheers
Andy

Jason wrote:
hi

i have a historical sales chart from Mar 2003 to present that i'm trying to
graph.

however, excel is making me keep the data in one straight line

if i try to seperate it into two rows, it adds another bit to the chart

how do i graph sales using two seperate lines of data?


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

  #4  
Old October 19th, 2006, 10:41 PM posted to microsoft.public.excel.charting
Jason
external usenet poster
 
Posts: 713
Default how do i make a chart with two seperate lines of data?

i figured it out, thanks Andy!

"Jason" wrote:

thanks andy

when i select the first step the source data is this
=Sheet1!$A$1:$E$2 with row 1 being years and row 2 being sales data

when i select the next data it says "reference not valid" and looks like this
=Sheet1!$A$1:$E$2+Sheet1!$A$7:$E$8

i even tried to copy and paste your formula in and it says "that function is
not valid" and highlights the SERIES in the formula

thanks for your help







"Andy Pope" wrote:

Hi,

This is best done in 2 steps. Create the chart with the first set of
data. Then use the Source Data dialog to reselect the 2 data ranges,
using the CTRL key to select the 2 separate ranges.

So for data that is in the range A1:E1 continued in A2:E2 you would end
up with a series formula like this,

=SERIES(,,(Sheet1!$A$1:$E$1,Sheet1!$A$2:$E$2),1)

Cheers
Andy

Jason wrote:
hi

i have a historical sales chart from Mar 2003 to present that i'm trying to
graph.

however, excel is making me keep the data in one straight line

if i try to seperate it into two rows, it adds another bit to the chart

how do i graph sales using two seperate lines of data?


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.