Formula to get full lengths from rolls

LazyLarry

New Member
Joined
May 2, 2018
Messages
10
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.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi,

Try this:


Book1
ABCD
1Roll SizeLength# LengthsRolls needed
2203122
3203133
4203143
5203153
6203163
7203173
8203183
9203194
10203255
11204255
Sheet463
Cell Formulas
RangeFormula
D2=ROUNDUP(C2/ROUNDDOWN(A2/B2,0),0)
 
Upvote 0

Forum statistics

Threads
1,215,450
Messages
6,124,912
Members
449,195
Latest member
Stevenciu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top