The Situation - I have to cover a floor whose dimensions can range from 8x8 to 20x100. I can order a set sizes of sheets which are: 4x8, 4x10, 4x12, 4x20 5x8, 5x10, 5x12, 5x20 6x8, 6x10, 6x12, 6x20 8x20, 8x40 10x20, 10x40 (40 ft sheets are not very preferable)
The Requirement - I want to have a formula which takes in the Length (L) and the Width (W) of the floor and reads the set of sheet sizes (L1, L2, L3..., W1, W2, W3...) given in a table and gives out the Sheet sizes and the number of them needed. The answer should be the least number of sheets used to cover the area. The area will always be square or rectangle. The goal is to utilize as few sheets as possible (with minimum wastage).
Example -
1) If I have a floor requirement of 12x20, I'll put in L=20 W=12. It should give me
Sheet size 6x20
No. 2
2) If the requirement is 13x50, it should give me:
Sheet Size 8x20
No. 2
Sheet size 5x20
No. 2
Sheet size 10x20
No. 1
I was trying to do something. Here is an attached excel file, if it helps
Thanks for all the help, people!!
Let me know if you need more info.
The Requirement - I want to have a formula which takes in the Length (L) and the Width (W) of the floor and reads the set of sheet sizes (L1, L2, L3..., W1, W2, W3...) given in a table and gives out the Sheet sizes and the number of them needed. The answer should be the least number of sheets used to cover the area. The area will always be square or rectangle. The goal is to utilize as few sheets as possible (with minimum wastage).
Example -
1) If I have a floor requirement of 12x20, I'll put in L=20 W=12. It should give me
Sheet size 6x20
No. 2
2) If the requirement is 13x50, it should give me:
Sheet Size 8x20
No. 2
Sheet size 5x20
No. 2
Sheet size 10x20
No. 1
I was trying to do something. Here is an attached excel file, if it helps
Thanks for all the help, people!!