Hello All,
I know it can be done but I'm struggling to work out the correct way to do this....
I have 2 input cells: [Cut Length] and [Total Qty] and there are 6 standard lengths the Cut Length can be cut from. 9, 10.5, 12, 13.5, 15, and 16.5.
I need either 1 return cell that shows both the best length to cut from and the qty per length or in 2 separate cells.
I am doing this manually at the moment by manually inputting a stock length and checking the total meters until I get the smallest total meter length.
e.g. Qty = 10 and Cut length = 5.2m
The 9m stock length returns 10 lengths with a total of 90m (1 per length)
10.5m returns 5 lengths with a total of 52.5m (2 per length)
12m returns 5 lengths and 60m (2 per length)
13.5m returns 5 lengths and 67.5m (2 per length)
15m returns 5 lengths and 75m (2 per length)
16.5m returns 4 lengths and 66m (3 per length)
I would love this to be able to operate as a function if possible?
I know it can be done but I'm struggling to work out the correct way to do this....
I have 2 input cells: [Cut Length] and [Total Qty] and there are 6 standard lengths the Cut Length can be cut from. 9, 10.5, 12, 13.5, 15, and 16.5.
I need either 1 return cell that shows both the best length to cut from and the qty per length or in 2 separate cells.
I am doing this manually at the moment by manually inputting a stock length and checking the total meters until I get the smallest total meter length.
e.g. Qty = 10 and Cut length = 5.2m
The 9m stock length returns 10 lengths with a total of 90m (1 per length)
10.5m returns 5 lengths with a total of 52.5m (2 per length)
12m returns 5 lengths and 60m (2 per length)
13.5m returns 5 lengths and 67.5m (2 per length)
15m returns 5 lengths and 75m (2 per length)
16.5m returns 4 lengths and 66m (3 per length)
I would love this to be able to operate as a function if possible?