+ Reply to Thread
Results 1 to 3 of 3

Move volume if machine is overloaded to other machines based on their free capacity

Hybrid View

billrogers184 Move volume if machine is... 04-18-2018, 12:08 PM
dflak Re: Move volume if machine is... 04-18-2018, 02:39 PM
billrogers184 Re: Move volume if machine is... 04-18-2018, 05:04 PM
  1. #1
    Forum Contributor
    Join Date
    05-08-2015
    Location
    Asheville NC
    MS-Off Ver
    Excel for Office 365 MSO
    Posts
    113

    Move volume if machine is overloaded to other machines based on their free capacity

    I would like to know if a formula can:
    1. Move volume from machine 1, if machine 1 capacity is negative, by first moving product A to machine 2, if machine 2 has free capacity, without making machine 2 capacity negative.
    2. If machine 1 is still negative after moving product A, move product B to machine 2, if machine 2 still has free capacity,without making machine 2 capacity negative.
    3. If Machine 1 is still negative after moving product A and B to machine 2 and machine 2 has no more free capacity, move product B to machine 3, if machine 3 has free capacity,without making machine 3 capacity negative.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Move volume if machine is overloaded to other machines based on their free capacity

    This took some setup.

    I altered the formulas for total to add the normal production run for machine A and subtract those units diverted to the other machines. For the other machines, these units are added to the workload. Units diverted are shown as positive numbers.

    I set up some formulas in columns P:S. Cell Q10 is the total demand. Cells Q13:Q16 are the capacities bringing the machines on line with overtime in B, A, C order (most "bang for the buck" based on increase in capacity by adding overtime).

    These numbers populate a "Truth Table" as to whether a particular machine is scheduled for overtime. The results are also reflected in row 16. Row 15 uses the True/False to determine if it should add the OT capacity for the machine.

    The shortfall is calculated by comparing the revised machine capacity with the required capacity (accounting for diversions in/out). This is "bottomed out" at zero - a machine can't have a negative shortfall.

    Cell Q17 is the sum of the shortfalls.

    Next I engaged solver. Solver is an add-in that is a standard part of Excel. Go to File->Options->Add-ins and use the drop-down for Excel Adins. Click on Go and then check the box for solver. Dover shows up on the data tab,.

    The setup for solver is shown in the attached picture.

    What it says is Make cell P17 (total shortfalls) zero by changing cells G6, G8 and G9. With the following constraints: only whole units can be diverted.

    Solver will give you an answer. A lot depends on the initial conditions. With the original problem I started with all zeros in cells. I accepted this answer and then upped the required production of product A to 150 and re-solved.

    Note: if you have more product than the combined capacity of all three machines at OT, Solver will not find and answer and tell you so.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by dflak; 04-18-2018 at 02:42 PM.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    05-08-2015
    Location
    Asheville NC
    MS-Off Ver
    Excel for Office 365 MSO
    Posts
    113

    Re: Move volume if machine is overloaded to other machines based on their free capacity

    Thanks for your suggestion. I was trying to get a formula in G6, G8 & G9 to do the math automatically. See rev 1 attachment. Thank you for any other suggestions.

+ 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. calculation the machine capacity
    By spl in forum Excel General
    Replies: 8
    Last Post: 06-01-2015, 10:31 PM
  2. [SOLVED] Index/Match Multiple Criteria: Item # & Volume Level Pricing Relative to Specific Volume
    By dilbert1865 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-15-2014, 09:28 AM
  3. Please Help - Capacity/Volume Question
    By jdc3798 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-09-2013, 01:40 PM
  4. Overloaded worksheet query
    By Bridget Clyde in forum Excel General
    Replies: 0
    Last Post: 07-17-2008, 11:47 AM
  5. [SOLVED] Counting capacity based on technician schedule
    By Nadine in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 03:05 AM
  6. Counting capacity based on technician schedule
    By Nadine in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 12:05 AM
  7. Move Folders on the Server vs. Local Machine
    By Myrna Rodriguez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2005, 05:19 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