#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3
Default Trendline segments

I have a graph with 8 data points representing years 2000-2007. WE would like
to put two trendlines on the graph. one that shows years 2000-2004 and a
second one that shows 2005-2007. Can this be done?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Trendline segments

Hi,

Yes but you will need to add extra data series.
The trend line will be based on all the points in the series. So add a
series with 2000-2004 data and one for 2005-2007 data.
You can now add your 2 trend lines.

Note that you do not have to see the 2 extra trend lines. These can be
formatted to have no line or markers.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Dan K" wrote in message
...
I have a graph with 8 data points representing years 2000-2007. WE would
like
to put two trendlines on the graph. one that shows years 2000-2004 and a
second one that shows 2005-2007. Can this be done?


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default Trendline segments

Plot as two series.
Arrange the data as
....... 2000-2004 2005-2007
date-1 value =NA() 'first date
date-2 value =NA()
date-20 value =NA() 'last 2004 date
......
date-21 =NA() value 'first 2005 date
date-22 =NA() value
......
Make chart; add trendline to each series
You can always make the two series look like one by formatting
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Dan K" wrote in message
...
I have a graph with 8 data points representing years 2000-2007. WE would
like
to put two trendlines on the graph. one that shows years 2000-2004 and a
second one that shows 2005-2007. Can this be done?



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
Highlighting segments of text as hyperlinks Dale Fye Excel Discussion (Misc queries) 1 October 22nd 07 09:39 PM
Separating day time segments MLP Excel Discussion (Misc queries) 2 May 16th 06 04:40 PM
Wrapping in Segments? HNDon Excel Discussion (Misc queries) 0 March 23rd 05 01:33 AM
Parsing a space delimited file into segments robinsgate Excel Discussion (Misc queries) 6 March 18th 05 09:51 PM
calcuate sales by date and segments Pete Petersen Excel Worksheet Functions 2 January 3rd 05 09:09 PM


All times are GMT +1. The time now is 05:54 AM.

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"