+ Reply to Thread
Results 1 to 8 of 8

Shelf Life problem - check customer shelf life requirements with shelf life on inventory

  1. #1
    Registered User
    Join Date
    06-08-2020
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    4

    Shelf Life problem - check customer shelf life requirements with shelf life on inventory

    Dear Friend,

    My name is Mads. I have faced an issue which i have spent hours trying to solve, however, without luck so far. I would appreciate any help on this.

    The problem is to identify if there is sufficient inventory to satisfy customer orders with respect to the remaining shelfs life per. material (multiple batches) and customer shelf life requirements per material.

    Data is found in attachment.
    Sheet 1 (Inventory data): Explains products, quantity in stock and remaining shelf life per. material. (please notice one product may have multiple batches with different shelf life).
    Sheet 2 (Customer reg. shelf life): Explains customer shelf life requirement per material. (At loading, remaining shelf life on inventory must be higher than customer requirement shelf life)
    Sheet 3 (Order to customer): Explains material purchase per. customer and quantity and loading date.


    So far, i have only been able to check if at least one batch of each product has greater remaining shelf life than required per customer. However, i do not know if there is enough inventory to satisfy the customer order. I would like an overview explaining if each order can be fulfilled in full quantity without violating customer requirement shelf life.

    FYI: inventory data is pulled 3 months ago, hence many products will be too old.

    I really appreciate if you could recommend a solution or help me along the way. The uploaded data is intended to be clean without my own suggestions to minimize confusion.

    Please let me know if you need any additional information.

    Thanks you very much

    Best regards
    Mads
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Shelf Life problem - check customer shelf life requirements with shelf life on invento

    I made a pivot table of the stock (in sheet Oeldere).

    After that I use Vlookup if an item can be supplied.

    G2 =Lookup($C2,Oeldere!$A$4:$B$148,2,0)

    H2 =If(G2<D2,"no","yes")

    If the result is no, there are not enough artikels on stock.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-08-2020
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Shelf Life problem - check customer shelf life requirements with shelf life on invento

    Dear Oeldere,

    Thank you very much for your help. Unfortunately, this solution does not answer my question, as summing up the shelf life across all batches, does not answer if the order can be fulfilled without violating shelf life and quantity. But thank you for your help.

    Best,
    Mads

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Shelf Life problem - check customer shelf life requirements with shelf life on invento

    Unfortunately I think your problem is frankly outside the scope of the help you can get off this (or any) excel forum.

    This is a variation of the Bin-Packing Problem with three dimensions I think: material, expiration date, and quantity. (Although this is not the typical 3D of x-y-z rectangles that for example TOPS software sells in their enterprise logistics software packages.)

    Even sanitizing this data to feed into an algorithmic black box would be a big ask, but actually solving it is starting to get into "Masters Degree in Applied Math Thesis Problem" levels of complexity.
    Last edited by ben_hensel; 06-08-2020 at 08:27 PM.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  5. #5
    Registered User
    Join Date
    06-08-2020
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Shelf Life problem - check customer shelf life requirements with shelf life on invento

    Hi Ben Hensel,

    Thank you for your reply. I recognize that this may not be a "simple" as i initially thought it would be.
    Do you see any delimitations that could be made to simplify the problem?

    E.g.

    Check each order if material, shelf life and quantity is obeyed, but do not substract multiple sales order lines with same material from the inventory?
    This would allow each order to be validated, however, two orders may use up the same inventory line - however, this can be manually checked for afterwards.

    Thank you for your help. It is highly appreciated.

    /Mads

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Shelf Life problem - check customer shelf life requirements with shelf life on invento

    Is your question in #5 not the offered solution in #2?

  7. #7
    Registered User
    Join Date
    06-08-2020
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Shelf Life problem - check customer shelf life requirements with shelf life on invento

    Hi,

    Not really. In #2 you have summed the shelf life across all batches, and use this number as inventory and compare it the demand from the sales order.
    I dont think that makes any logical sense. Maybe you can elaborate?

    /Mads

  8. #8
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Shelf Life problem - check customer shelf life requirements with shelf life on invento

    If the expiration dates were dates not text, it would be possible to calculate inventory that has an expiration date that was far enough into the future to be acceptable to the customer

    something similar to the attached as a start
    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. Replies: 1
    Last Post: 07-18-2014, 04:44 AM
  2. Replies: 1
    Last Post: 09-29-2012, 02:24 PM
  3. [SOLVED] Shelf Life Percentage
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. [SOLVED] Shelf Life Percentage
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Shelf Life Percentage
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. [SOLVED] Shelf Life Percentage
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. Shelf Life Percentage
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. [SOLVED] Shelf Life Percentage
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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