+ Reply to Thread
Results 1 to 3 of 3

calculating out of stock dates

  1. #1
    Registered User
    Join Date
    09-07-2018
    Location
    Warsaw
    MS-Off Ver
    2016
    Posts
    2

    calculating out of stock dates

    Hello,

    google could not help - so I hope one of you can.
    I need to do an OOS calculation for a data set as in attached picture(somehow could not copy the table into this post or attach an excel)

    available info:
    current stock
    Forecast per week (calendar week in top row)

    formula needed:
    once the running total of weekly forecast is higher than the current stock level show OOS week in same row column "X". I started typing a long long long IF formula (as this is where my excel skills end) but it must be easier than this.
    Please help.

    Thank you
    Lydia

    Untitled.jpg

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: calculating out of stock dates

    You don't show the cell ranges that your data is contained in, so I've assumed that your sample is located in A1:K7

    With that in mind, this formula in C3 returns the correct OOS week.

    =INDEX($D$2:$K$2,MATCH(TRUE,INDEX(SUBTOTAL(9,OFFSET($D3,,,1,COLUMN($D$3:K3)-COLUMN($D3)+1))>$B3,),0))

    To attach a sample workbook,

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    09-07-2018
    Location
    Warsaw
    MS-Off Ver
    2016
    Posts
    2

    Re: calculating out of stock dates

    Hi Jason,

    thank you very much! this works perfectly.

    Lydia

+ 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. Calculating running total for in lab stock
    By ltelford51 in forum Excel General
    Replies: 10
    Last Post: 11-17-2015, 10:11 AM
  2. Help calculating stock investment returns vs S&P 500
    By mattmcg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-23-2013, 02:12 PM
  3. Replies: 0
    Last Post: 10-28-2012, 07:22 AM
  4. Calculating Stock balance and/or months before stockout
    By tomjoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2012, 05:34 PM
  5. Calculating future stock values...
    By bpolli in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-25-2008, 05:23 PM
  6. [SOLVED] calculating the volatility of a stock
    By Richard M 2006 in forum Excel General
    Replies: 1
    Last Post: 05-09-2006, 05:00 PM
  7. calculating days of stock
    By Cor in forum Excel General
    Replies: 1
    Last Post: 05-06-2005, 05:06 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