+ Reply to Thread
Results 1 to 6 of 6

production process with two products, calculation of the end date

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    London
    MS-Off Ver
    Excel 2003 + Excel 2011 (Mac)
    Posts
    3

    production process with two products, calculation of the end date

    Dear All,

    I would like to do the following in Excel:

    I have a chemical product (compound) that is evenly brought into the production process. It is available in two different strengths:

    Product X, strength 10 (available package sizes: 25, 50 und 100)
    Product X, strength 30 (available package sizes: 50 und 100)

    The planner shall at first enter the available quantities (bought, ordered or in stock):

    Quantity product X, strength 10: To be entered
    Quantity product X, strength 30: To be entered

    The production eeds exactly a dose of strength 50 every day. This is done by using one unit of strength 30 and two units of strengt 10.

    The user shall now enter the production start date (example: 1 January). Excel should then calculate the date when the last unit will be used in order to forecast when we run out of stock. Depending on the quanitities, it might be the case that only one of either strenghts would run out. In this case it should calculate the last day where the product can be produced.

    Ideas anyone?

    Thank you in advance

    PP81

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: production process with two products, calculation of the end date

    With Stock of St10 in A2, stock of St30 in A3 and start date in D2
    Last date will be
    =D2+MIN(TRUNC(A2/2), A3)

    See attachment
    Does this work for you?
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    London
    MS-Off Ver
    Excel 2003 + Excel 2011 (Mac)
    Posts
    3

    Re: production process with two products, calculation of the end date

    That's incredible. It works and it's a simple solution without any scripting. You're a real Guru! Thank you soooo much :-)

    I have two issues which make it a bit more complex:

    1.
    We usually have two production cycles every day. In some processes we need to add the compounds twice a day so that it might happen that we run out of stock after the 1st round of the day. Is there a way to cover this aspect?

    2.
    Is it possible to create a schedule for the support staff. The ideal output would be list like this (columns: Date, Time, Cycle, Message/Note)

    Date 0|Time (6am) | Cycle 1
    Date 0|Time (2pm) | Cycle 2
    Date +1 |Time (6am) | Cycle 1
    Date +1 |Time (2pm) | Cycle 2
    Date +2 |Time (6am) | Cycle 1
    Date +2 |Time (2pm) | Cycle 2
    Date +3 |Time (6am) | Cycle 1
    Date +3 |Time (2pm) | Cycle 2
    Date +4 |Time (6am) | Cycle 1
    Date +4 |Time (2pm) | Cycle 2 only five supply for 5 cycles left, please reorder
    Date +5 |Time (6am) | Cycle 1
    Date +5 |Time (2pm) | Cycle 2
    Date +6 |Time (6am) | Cycle 1
    Date +6 |Time (2pm) | Cycle 2
    Date +X |Time (6am) | Cycle 1 out of stock after this cycle, please refill
    (end of this list, process would start again)

    Unfortunately, the compounds can only be filled after the machine is out of stock. Therefore, the support staff must receive the message "out of stock after this cycle".

    Any idea?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: production process with two products, calculation of the end date

    Okay, take a look at this attachment. The equations are getting longer. In this example, the spreadsheet always starts with Cycle 1 AM. I imagine that's not the case. We could set up a cell with a dropdown (AM/PM) or (Cycle 1/Cycle 2) to adapt for that. Which would you prefer?

    Currently, Col B and C are just to play with, they can be deleted once you're happy with results. They show inventory AFTER that cycle.
    Col D, D7 is
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    E7 is
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and F7 is
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note: If your second strength falls within 5 cycles of depletion after the first one but before refill, a second warning will show up. Hope that's okay.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-06-2012
    Location
    London
    MS-Off Ver
    Excel 2003 + Excel 2011 (Mac)
    Posts
    3

    Re: production process with two products, calculation of the end date

    Wow. Thank you. These formulas are quite complex.

    Your assumption is entirely right. Sometimes one would start with cycle 1, sometimes with cycle 2. Where would you insert the dropdown (for the dropdown I'd choose Cycle 1/Cycle 2.

    Cycle D and F do not work for me. But this could be due to the fact that I can try this with Excel 2003 only. Can try it with a newer version later. Or do you think there could be an error which prevents this from working?

    Cell E2 is already filled... even when D2 is empty. Is this correct?

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: production process with two products, calculation of the end date

    Okay, I modified the formulas to work based on what's in D4, Cycle 1 or Cycle 2. I also saved it as an Excel 2003 file. I do not think there are any formulas specific to > 2003 so should work for you. Take a look.
    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)

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