+ Reply to Thread
Results 1 to 10 of 10

Best yield from table

  1. #1
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Best yield from table

    Hi,

    I have a table with 2 columns for raw material (Length and Width) and i have two seperate cells for product size also called length and width. What i'm trying to do is input my product size which will then return the best fit raw material by the least amount of waste. This would be applicable to multiples. For example:

    Product Size (input)
    lenght Width
    600 300

    Raw Material Size (table)
    Length Width
    500 230
    1220 310
    1000 310
    1900 350
    1850 310

    Result
    Length Width
    1220 310

    The above result would be the correct answer as you would get 2 products from the one sheet of raw material with the least amount of waste. Hope this makes sense

    I would really appreciatre some help/advice. I've attached my workings so far.

    Thanks in advance
    Attached Files Attached Files
    Last edited by sleazyfish; 09-08-2010 at 09:41 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Best yield from table

    Should you not also be taking into account width simultaneously ?

    Based on sample file - perhaps:

    Please Login or Register  to view this content.
    As you alter C4/D4 so the result should update accordingly (eg 600/300 returns 1250/350 whereas 600/400 returns 1050/550)

  3. #3
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Re: Best yield from table

    Should you not also be taking into account width simultaneously ?
    This works great but yes you are right. Width does need to be taken into account simultaneously. Is this possible?

    Thanks in advance

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Best yield from table

    Quote Originally Posted by sleazyfish
    Width does need to be taken into account simultaneously. Is this possible?
    It already is (I tried to illustrate that by means of examples and outputs)

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Best yield from table

    I take that back - the above was not an accurate solution... is the below better ?

    Please Login or Register  to view this content.
    So waste is determined by: waste height * width + waste width * complete units (as determined by height)

    Example:

    250/175 would return 1250/350 rather than 500/230 given the former leaves no waste whatsoever
    Last edited by DonkeyOte; 09-08-2010 at 08:51 AM.

  6. #6
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Re: Best yield from table

    I changed the bottom entry in the table to 600 x 550 and put 600 x 350 in the product dimensions and was expecting the outcome to be 1250 x 350 but it was 600 x 550 instead.

    Any ideas DonkeyOte?
    Last edited by sleazyfish; 09-08-2010 at 09:16 AM.

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Best yield from table

    I'm not having a good day am I ?

    If (big if) I am correct in assuming waste would be calculated using:

    waste height * width + waste width * height

    then:

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Thumbs up Re: Best yield from table

    That worked perfectly.

    Thank you so much. I've worked on this on and off for some time. I even looked into MOD as a method but disgarded it!


    Thanks again

  9. #9
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Best yield from table

    No problem - I'm sorry it took as many attempts as it did - it shouldn't have !
    (my math isn't really that bad (honest!))

  10. #10
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Re: Best yield from table

    Quote Originally Posted by DonkeyOte View Post
    No problem - I'm sorry it took as many attempts as it did - it shouldn't have !
    (my math isn't really that bad (honest!))
    My math is really that bad (honest!)

+ 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