+ Reply to Thread
Results 1 to 5 of 5

Linear Forecast Trendline based on a portion of the series

  1. #1
    Registered User
    Join Date
    08-18-2015
    Location
    Luebeck, Germany
    MS-Off Ver
    2010
    Posts
    3

    Question Linear Forecast Trendline based on a portion of the series

    I have a data series on my chart for which I would like to plot a Linear Forecast Trendline.

    a) I would like to plot this trend line only based on the last several (10) data points in the series. The trendline will forecast 8 periods into the future.

    b) Ideally, I would like this forecast to operate as a sort of moving forecast (i.e. As additional data is added to my series it should automatically project the trend from the most recent 10 data points) without having to manually manipulate the parameters of the trendline.

    Is it possible to due either / both of these in excel?

    Thanks for any help with this!

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Linear Forecast Trendline based on a portion of the series

    if i understand what you are trying to do
    you want to map trend as data on the series? if so then trend will do linear forecast projections

    see attached
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    08-18-2015
    Location
    Luebeck, Germany
    MS-Off Ver
    2010
    Posts
    3

    Re: Linear Forecast Trendline based on a portion of the series

    Thanks for getting back to me!
    What I am looking for is a bit more complicated.....

    Yes, I want to map trend data as a series but with a caveat.
    The typical 'Linear Forecast Trendline' draws the trend / forecast for all data points in the series. I would like to have it drawn using only the last 10 data points (i.e. ignore the earlier data points).
    Please see the attached to illustrate the problem.....

    In the Chart a 'typical' trendline (Blue line) is shown. It is based on all datapoints in the series and forecasts out for 8 periods.
    The Red dashed line I have calculated and added manually to the chart. It represents the future trend/ forecast based on the last 10 samples.
    I would like to, somehow, generate this trend automatically.

    I hope this makes sense!

    Burnup Chart.xlsx

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Linear Forecast Trendline based on a portion of the series

    Where to begin....

    It appears that you are doing these regressions using the chart trendline function, and did not seem very interested in humdingaling's approach using worksheet regression functions. One thing to realize is that a chart trendline must use the entire data series that it is based on for its regression. This means that the way to get the chart trendline to regress on a subset of the data, you need to add an additional data series that contains just that subset of the data.

    Perhaps the easiest way to do this is to add a helper row to your table. Somewhere below the lowest used cell (I tested in row 401), a formula like =if(condition(s) to decide if this data point is to be included,i$4,na()). Note that I use the NA() function as described in this article on how charts handle "simulated" empty cells: http://peltiertech.com/mind-the-gap-...g-empty-cells/ ). Then you can add this row as an additional series, then base your trendline on this series. Repeat for each trendline based on different subsets of the data that you want to show.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    08-18-2015
    Location
    Luebeck, Germany
    MS-Off Ver
    2010
    Posts
    3

    Re: Linear Forecast Trendline based on a portion of the series

    Thank you for the tip! I will experiment a bit with it to see if I can get to to perform properly for me!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel 2010 Trendline With Data labels or number on forward forecast trendline
    By camelight in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 10-15-2015, 08:35 AM
  2. How do I get my linear trendline to stop at zero?
    By HaileyGoddard in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 08-06-2013, 02:22 PM
  3. Trendline Forecast
    By chemster in forum Excel General
    Replies: 5
    Last Post: 03-09-2011, 06:08 PM
  4. Finding range of linear portion of data
    By oucivileng in forum Excel General
    Replies: 3
    Last Post: 12-15-2010, 07:33 PM
  5. How to forecast value for a non-linear curve
    By anmck in forum Excel General
    Replies: 1
    Last Post: 10-30-2009, 04:15 PM
  6. Trendline based on more than one series
    By Back2Basics in forum Excel General
    Replies: 1
    Last Post: 04-08-2009, 10:44 AM
  7. TRENDLINE based on ALL the series
    By strokebow in forum Excel General
    Replies: 1
    Last Post: 08-05-2008, 11:03 AM
  8. Linear Trendline
    By maperalia in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 05-04-2006, 06:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1