Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
William Spurlock
 
Posts: n/a
Default How do I anchor one end of a linear trend line?

I want to display a linear trend line to project an end point at a future
time. I have a fixed starting point and want a linear extrapolation from
that point. The standard linear trend line moves the start point to give a
straight line fit to the data, but that's not what I am trying to do.
  #3   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default How do I anchor one end of a linear trend line?

If you don't want to constrain the intercept (the Y value at X=0) but
instead want to extend the trendline beyond the first or last X values, on
the trendline Options tab, change the Forward and Backward values in the
Forecast box.

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


"Tushar Mehta" wrote in message
om...
In article , "=?
Utf-8?B?V2lsbGlhbSBTcHVybG9jaw==?=" <William
says...
I want to display a linear trend line to project an end point at a future
time. I have a fixed starting point and want a linear extrapolation from
that point. The standard linear trend line moves the start point to give
a
straight line fit to the data, but that's not what I am trying to do.

To specify a particular intercept, double-click the trendline, then
select the Options tab. The rest should be straightforward.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions



  #4   Report Post  
Posted to microsoft.public.excel.charting
B. R.Ramachandran
 
Posts: n/a
Default How do I anchor one end of a linear trend line?

Hi,

If you want to the force the trendline ALWAYS pass through a fixed starting
point (I assume that this is not the y-intercept but the first data point),
you could try the following approach.

Supposing that your X-range is in A2:A11 and Y-range is in B2:B11, create a
helper column C with the following formula in C2 and autofill to C11.

=$B$2+LINEST($B$2:$B$11-$B$2,$A$2:$A$11-$A$2,0)*(A2-$A$2)

Add a second series to your XY-scatter plot with the A2:A11 as the X-range
and C2:C11 as the Y-range, format the series for "Automatic" for Line and
"None" for Marker. Now get the trendline equation for Series 2 (not your
original series). The trendline will overlap with the second series, and
hence Series 2 will be indistinguishable.

Regards,
B. R. Ramachandran

"William Spurlock" wrote:

I want to display a linear trend line to project an end point at a future
time. I have a fixed starting point and want a linear extrapolation from
that point. The standard linear trend line moves the start point to give a
straight line fit to the data, but that's not what I am trying to do.

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 do I add a trend line to a stacked chart in Excel Marea in Canberra Charts and Charting in Excel 1 January 10th 06 07:59 AM
Trend Line Constants Ken Excel Discussion (Misc queries) 5 January 5th 06 02:42 AM
Trend Line constants Ken Excel Worksheet Functions 2 December 16th 05 02:18 AM
How to put coefficients of trend line into spreadsheet? [email protected] Charts and Charting in Excel 5 October 9th 05 01:18 PM
trend line does not appear JB Charts and Charting in Excel 1 January 26th 05 08:24 PM


All times are GMT +1. The time now is 07:15 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"