I need a formula to work out number of rolls for X amount of lengths an I can' have part of a length from different roll
For example if I have a roll size of 20 metes and lengths of 3 metres, for 12 lengths it is easy 12 x 3m = 36m divided by 20m rl = 2 Rolls
The issue becomes when it goes up to 13lengths the answer needs to b be 3 rolls to get full lengths because 13 x 3m = 39 / 20 = 2 but one length would be made up of 2 metres from 1 roll and 1 metre from the second.
How do I write the formula to get past this problem?
Thanks in advance.
For example if I have a roll size of 20 metes and lengths of 3 metres, for 12 lengths it is easy 12 x 3m = 36m divided by 20m rl = 2 Rolls
The issue becomes when it goes up to 13lengths the answer needs to b be 3 rolls to get full lengths because 13 x 3m = 39 / 20 = 2 but one length would be made up of 2 metres from 1 roll and 1 metre from the second.
How do I write the formula to get past this problem?
Thanks in advance.