+ Reply to Thread
Results 1 to 3 of 3

Forecasting with several conditions

  1. #1
    Registered User
    Join Date
    02-18-2018
    Location
    Beja, Portugal
    MS-Off Ver
    2016
    Posts
    2

    Forecasting with several conditions

    Hello,
    I'm trying to forecast values along down a table.
    I have already used Forecast (Linear) formula without a problem, but now I need several conditions to be met.

    This is what I have so far:

    {FORECAST.LINEAR([@Date];AND(IF([Date]>=([@[Date]]-5); [Score];"");IF([Date]<[@[Date]]; [Score];""));AND(IF([Date]>=[@[Date]]; [Date];"");IF([Date]<[@[Date]]; [Date];"")))}

    Using just one condition for X's and Y's, the formula works. But when I start writing AND's I get errors.
    So I bet that there is something wrong in the AND's part but I'm not figuring out what.

    Thanks in advance for your help,
    Pedro

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

    Re: Forecasting with several conditions

    We cannot use AND etc in array-entered formulas if the intent is a row-by-row logic test.

    Instead, array-enter (press ctrl+shift+Enter instead of just Enter) the following formula:

    Please Login or Register  to view this content.
    I seperated the FORECAST parameters to make them clearer.

    I mofidied the conditions of the second parameter. I assume the omission of -5 is a mistake. It is unusual for the two parameters to have different conditions.

  3. #3
    Registered User
    Join Date
    02-18-2018
    Location
    Beja, Portugal
    MS-Off Ver
    2016
    Posts
    2

    Re: Forecasting with several conditions

    Hi Joeu2004,
    Thank you for the explanation.
    Works very well.

    Regards

+ 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. Help with forecasting
    By rob.callaghan in forum Excel General
    Replies: 4
    Last Post: 10-12-2017, 09:09 AM
  2. Replies: 2
    Last Post: 01-14-2016, 03:53 PM
  3. Forecasting
    By Buranku in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-25-2014, 09:40 PM
  4. Replies: 1
    Last Post: 10-30-2012, 07:12 PM
  5. Forecasting
    By Hollyoak08 in forum Excel General
    Replies: 1
    Last Post: 07-27-2010, 10:19 AM
  6. forecasting
    By Patrick the K in forum Excel General
    Replies: 2
    Last Post: 04-02-2010, 01:15 PM
  7. [SOLVED] Forecasting
    By tojo107 in forum Excel General
    Replies: 0
    Last Post: 11-16-2005, 01:52 PM

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