PLEASE HELP linear nesting formula help

PARTSONWHEELS

New Member
Joined
Mar 4, 2011
Messages
1
I need help writing a formula to figure bar length max usage per defined amount that calculates the amount of bars to be used to complete a project for example

if 200 inches of pipe are needed total and each pipe equals 100 inches at $2.00 cost then i would need 2 lengths of pipe equaling $4.00 cost

the odd variables are that you may make a cut in that length of say 25.5 inches where as you cannot get that total amount out of one length it would defer over to the next piece.

The closest i can get to that is if i do the following

if (a1+b1 is less than or equal to 100 use 1 piece)
if (a1+b1 is greater than100 but less than to 200 use 2 piece)

i just dont know how to write it please help
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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