+ Reply to Thread
Results 1 to 5 of 5

How to create non-linear forecast data

Hybrid View

  1. #1
    Registered User
    Join Date
    08-20-2019
    Location
    US
    MS-Off Ver
    Professional Plus 2016
    Posts
    2

    How to create non-linear forecast data

    I'm a bit of a Noob, but I think this is a fairly simple question.

    I need to generate month-to-data based on some history, but also a forecast. I know the end goal at the end of the series. I need to figure out how to generate the forecast data in the middle, and perhaps be able to tweak the curve in the formula as well.

    Here's an example (Empty cells are what I need to fill in):

    forecast2.JPG

    Thanks!!!
    Dave
    Attached Images Attached Images
    Last edited by DavE8tor; 08-20-2019 at 08:01 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,732

    Re: How to create non-linear forecast data

    "...and perhaps be able to tweak the curve in the formula as well."
    This would indicate that a formula was used to calculate the 100 and 175 values. It would help to know what that formula is, if it exists.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: How to create non-linear forecast data

    I think you are asking how to determine a non-linear formula that would generate 50, 100, 175 and 5000 for the months Jan, Feb, Mar and Dec, as well as the estimated data for the intermediate months.

    Of course, the curve could have any shape; we cannot know.

    But to KISS, we might assume a polynomial curve of order n-1 (3), which fits the exisiting n (4) data points exactly. Beware that such a polynomial is "reliable" only for interpolating intermediate data points, as you require, not for extrapolating before or after the given data. Such formulas tend to "blow up" within a few data points before and after the given data.

    The following table demonstrates how to accomplish that.


    A B C D E F G H
    1 x^3 x^2 x^1 x^0
    2 jan 50 50 3.055556 -5.833333 46.111111 6.666667
    3 feb 100 100
    4 mar 175 175 1 50
    5 apr 293 2 100
    6 may 473 3 175
    7 jun 733 12 5000
    8 jul 1092
    9 aug 1567
    10 sep 2177
    11 oct 2940
    12 nov 3875
    13 dec 5000 5000


    Copy the existing data (50, 100, 175, 5000) into F4:F7. For flexibility, we could enter the formulas =B2, =B3, =B4 and =B13 respectively.

    Enter the corresponding month numbers (1, 2, 3, 12) into E4:E7.

    Select E2:H2 and array-enter (press ctrl+shift+Enter instead of just Enter) the following formula:

    =LINEST(F4:F7, E4:E7^{1,2,3})

    These are the coefficients (a, b, c, d) for the polynomial a*x^3 + b*x^2 + c*x + d.

    Enter the following formula into C2 and copy down through C13 [1]:

    =SERIESSUM(ROWS($A$2:A2), 3, -1, $E$2:$H$2)

    The formulas in C5:C12 could be moved into B5:B12. The formulas in C2:C4 and C13 are just to demonstrate the correctness of the polynomial.


    -----
    [1] More generally, the formula in C2 should be =SERIESSUM(ROWS($A$2:A2), 3, -1, $E$2:$G$2) + $H$2 , just in case H2 is zero (unlikely).
    Last edited by joeu2004; 08-24-2019 at 11:07 AM.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,666

    Re: How to create non-linear forecast data

    Try this. Pl see file.
    In D3 then copied down

    =$B$3*((10^(LOG10($B$14/$B$3)/($A$14-$A$3)))^(A3-$A$3))

    I have used Geometric progression method.
    In this formula start value , end value and number of months can be changed.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 08-25-2019 at 06:26 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    08-20-2019
    Location
    US
    MS-Off Ver
    Professional Plus 2016
    Posts
    2

    Re: How to create non-linear forecast data

    Perfect! I like how tweaking the baseline data effects the curve!

    Thank You!!!

+ 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. Solver or Formulas to create a linear cut optimization
    By rob_h in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2021, 07:00 AM
  2. [SOLVED] How to use formula-driven data to create a forecast chart
    By BRISBANEBOB in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-16-2016, 02:33 AM
  3. Replies: 4
    Last Post: 08-19-2015, 11:30 AM
  4. How to create visual forecast
    By allier in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-05-2013, 06:17 AM
  5. Replies: 0
    Last Post: 07-11-2012, 05:51 AM
  6. 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
  7. Trying to create a Sales Projection/Forecast/Estimate
    By S L Pace in forum Excel General
    Replies: 3
    Last Post: 03-30-2005, 10:06 AM

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