I am trying to develop a calculator to help determine how much and what lengths of bar stock needs to be purchased based on orders. We receive orders of several different part lengths and varying quantities. We buy bar stock then cut it to specified length, bar stock can be one of two lengths. I can do some of the easier math, but I keep running into trouble with so many different possible outcomes. For example if we receive orders for 10 of part1, 15 of part2, 13 of part3, etc, how many of each bar do I need to order to meet the demand but not have excessive leftover stock? I have attached what I came up with so far, please let me know if further explanation is needed. Thanks.
Bookmarks