Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
PY PY is offline
external usenet poster
 
Posts: 1
Default how to draw a trendline using two set of data?

Dear All,
How to draw a trendline using two set of data (same x-value but different in
y-value)

thanks
Cheers
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default how to draw a trendline using two set of data?

Do you want two trendlines, one for each data set? The Add Trendline dialog
(Chart menu Add Trendline) has a listbox to allow selection of a series.

Do you want to combine the data into one series? You need to define a series
that contains all of the points. If your two separate series have these
series formulas:

=SERIES(Sheet1!$C$4,Sheet1!$B$5:$B$12,Sheet1!$C$5: $C$12,1)
=SERIES(Sheet1!$D$4,Sheet1!$B$5:$B$12,Sheet1!$D$5: $D$12,2)

you need to add a series with this formula:

=SERIES("Combined",(Sheet1!$B$5:$B$12,Sheet1!$B$5: $B$12),(Sheet1!$C$5:$C$12,Sheet1!$D$5:$D$12),3)

Note how you can define multiple area ranges by separating the areas with
commas and enclosing the combined range in parentheses.

You can simply select the plot area, then click in the formula bar, and type
or paste in a valid formula like this.

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


"PY" wrote in message
...
Dear All,
How to draw a trendline using two set of data (same x-value but different
in
y-value)

thanks
Cheers



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
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
formula to identify exact point where trendline intersects data Jane Excel Worksheet Functions 5 November 14th 06 11:09 PM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Inputting data to one worksheet for it effect another daedalus1 Excel Discussion (Misc queries) 1 June 25th 06 04:39 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 11:33 PM.

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

About Us

"It's about Microsoft Excel"