+ Reply to Thread
Results 1 to 11 of 11

Estimate Stock at Risk of Expiry

  1. #1
    Registered User
    Join Date
    04-03-2020
    Location
    Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    8

    Estimate Stock at Risk of Expiry

    Hi all,

    The data I have is different batches of stock based on expiry dates and the sales forecast. I need to estimate the stock at risk of expiry. In the below example:

    Sales Forecast for Product A: April 100, May 100, Jun, 100, Jul 100, Aug 100
    Current On hand Stock 100 units expiring on 1-May and 300 units expiring on 1-Jun

    Based on above forecast
    100 units of May batch will be sold in April
    100 units of 1-Jun expiry batch will be sold in May. 200 units of this batch will be obsolete as it cannot be sold beyond May.

    Conclusion of above is 200 units of 1-Jun-20 batch will be unsold as it is cross its expiry date.

    I am trying to automate this logic so I can replicate it for a bigger list of products each of which has multiple batches based on expiry dates.

    Please refer attached excel file with sample data
    Attached Files Attached Files
    Last edited by Aalia; 04-04-2020 at 07:58 AM.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,722

    Re: Estimate Stock at Risk of Expiry

    Welcome to the forum.

    I've had a look - to me, your requirements are as clear as mud, sorry. Some narrative is required, please.
    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
    Registered User
    Join Date
    04-03-2020
    Location
    Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    8

    Re: Estimate Stock at Risk of Expiry

    Thanks for the feedback Ali.

    Input data is the sales forecast and stock on hand-split by 'Sell by Date'.

    Result expected is: For each batch calculate the left over 'Non Sell-able' based on the forecast.

    Thanks

  4. #4
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,722

    Re: Estimate Stock at Risk of Expiry

    I'm sure you know what you mean, however it's all gibberish to me - sorry.

  5. #5
    Registered User
    Join Date
    04-03-2020
    Location
    Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    8

    Re: Estimate Stock at Risk of Expiry

    Hi all,

    The data I have is different batches of stock based on expiry dates and the sales forecast. I need to estimate the stock at risk of expiry. In the below example:

    Sales Forecast for Product A: April 100, May 100, Jun, 100, Jul 100, Aug 100
    Current On hand Stock 100 units expiring on 1-May and 300 units expiring on 1-Jun

    Based on above forecast
    100 units of May batch will be sold in April
    100 units of 1-Jun expiry batch will be sold in May. 200 units of this batch will be obsolete as it cannot be sold beyond May.

    Conclusion of above is 200 units of 1-Jun-20 batch will be unsold as it is cross its expiry date.

    I am trying to automate this logic so I can replicate it for a bigger list of products each of which has multiple batches based on expiry dates.

    Please refer attached excel file with sample data
    Last edited by Aalia; 04-04-2020 at 07:43 AM.

  6. #6
    Registered User
    Join Date
    04-03-2020
    Location
    Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    8

    Re: Estimate Stock at Risk of Expiry

    Dears,

    Wondering if anyone can help me with a solution for this. Other than a very manual way to do it can't really reach a simplified way to get the result I intend.
    Last edited by Aalia; 04-05-2020 at 07:07 AM.

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

    Re: Estimate Stock at Risk of Expiry

    This proposal makes a few changes to the file in addition to adding two formulas for output.
    1. The forecast is placed in cell E1
    2. Cell B2 is populated with the first date: 4/30/2020
    3. Cells C2:J2 are populated using: =EOMONTH(B2,1)
    4. Cells M2:U2 are populated using: =B2
    The formula for B3:J6 is: =IF(AND(OR(ISTEXT($L2),B$2>$L2),B$2<$L3),$E$1,0)
    The formula for M3:V6 is: =IF(M$2<$L3,$K3-SUM($B3:B3),L3)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Registered User
    Join Date
    04-03-2020
    Location
    Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    8

    Re: Estimate Stock at Risk of Expiry

    Thanks JeteMc for your response, it gives me a good direction on building the template.

  9. #9
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,722

    Re: Estimate Stock at Risk of Expiry

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

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

    Re: Estimate Stock at Risk of Expiry

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  11. #11
    Registered User
    Join Date
    11-30-2020
    Location
    england
    MS-Off Ver
    10
    Posts
    1

    Re: Estimate Stock at Risk of Expiry

    would it be possible to advise how I can download the file?

+ 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. Stock with Expiry v/s Consumption / Production.
    By Imran Laldin in forum Excel General
    Replies: 3
    Last Post: 04-30-2019, 08:21 AM
  2. [SOLVED] Planned stock expiry calculation
    By ABSTRAKTUS in forum Excel General
    Replies: 6
    Last Post: 09-28-2018, 12:48 AM
  3. Calculate if stock will be sold before expiry date
    By memorex in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-25-2017, 08:14 AM
  4. Identify the earliest expiry date on stock based on current stock levels
    By julie86xx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2013, 01:08 AM
  5. Estimate the monthly return of your chosen stock and the S&P 500
    By kfaloyin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2013, 07:32 PM
  6. Point Estimate
    By smallexcel in forum Excel General
    Replies: 1
    Last Post: 08-12-2012, 03:48 PM
  7. Finding point estimate and interval estimate
    By Codedzero in forum Excel General
    Replies: 1
    Last Post: 10-11-2009, 02:46 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