+ Reply to Thread
Results 1 to 7 of 7

Forecast Model Removing Spikes

  1. #1
    Registered User
    Join Date
    07-14-2023
    Location
    US
    MS-Off Ver
    365
    Posts
    7

    Forecast Model Removing Spikes

    Hello, I am trying to build a forecast model that removes spikes (lets say, any value >2x the average of the last 12/24/36 months). I don't want the value to count as zero, I basically just want that month of demand to not exist, or for the FCST function to skip over it.

    I know how to do it with a AverageIF function, but I don't want the average, I want a forecast.

    Any help is appreciated! Thanks!
    Last edited by AliGW; 07-14-2023 at 10:56 AM. Reason: Irrelevant part of thread title removed.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,430

    Re: Forecast Model Removing Spikes

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Forecast Model Removing Spikes

    Fast answers need clear examples. Please post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results.

    See top of this page.

  4. #4
    Registered User
    Join Date
    07-14-2023
    Location
    US
    MS-Off Ver
    365
    Posts
    7

    Re: Forecast Model Removing Spikes

    Attachment 836428

    Here is an example of a list of parts that have 2 spikes (two data points > 2x the average). I want to build a forecast formula that will forecast every month excluding the values that would be >2x the average. Instead of counting them as 0, I'd like the formula to just ignore them.

    Look at the last row, row 22. In this case, I'd like the FCST function to forecast on months 1,2,3,4,5,6,8,9,10. Ignoring the spike of 47425 and 29660.

    Example.xlsx
    Last edited by Lukas12345; 07-14-2023 at 11:11 AM.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Forecast Model Removing Spikes

    Use

    =FILTER(A21:L21,A21:L21<2*N21)

    and use that as the Values array in whatever forecast formula you want to use. (You didn't say...).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Registered User
    Join Date
    07-14-2023
    Location
    US
    MS-Off Ver
    365
    Posts
    7

    Re: Forecast Model Removing Spikes

    Wow, I never tried the Filter formula. Lets say those 12 months are 06/23 - 08/22. Could you show me what the Forecast.linear formula would look like, forecasting for month 08/23?

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Forecast Model Removing Spikes

    Not sure I follow you... as 06/23 - 08/22 is 11 months. Maybe something like this:

    =FORECAST.LINEAR(24,FILTER(A2:L2,A2:L2<2*N2),FILTER(SEQUENCE(,12),A2:L2<2*N2))

    to forecast month 24, from data derived from months 1-12....
    Attached Files Attached Files

+ 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. Small leasing business model forecast
    By hanasamomo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-23-2021, 12:44 AM
  2. Building 'advanced' forecast model
    By FDTFQV65 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-10-2019, 04:48 PM
  3. [SOLVED] Forecast Model for Construction Projects
    By dee38 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-27-2016, 09:29 AM
  4. Forecast model for load/delivery system
    By Santa1986 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2015, 04:27 PM
  5. How to discriminate values between spikes?
    By Inds in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-08-2015, 04:26 PM
  6. Find max value in multiple spikes in a data set
    By bmcfiv in forum Excel General
    Replies: 1
    Last Post: 07-23-2012, 12:35 AM
  7. Help with Forecast demand model
    By jame24 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2011, 01:33 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