Aggregate Bill Of Material

Suhtka

New Member
Joined
Feb 19, 2016
Messages
8
Hi, I have a program that generates a cut list of materials depending on size and type of unit. Now the guys just take the files and manually aggregate it. I would like to do this programatically. I want to sum the quantity where the width, length, thick, and Matl. match. Red totals 20 parts. I would send the file but it seems I can't attach one.

Thank You!

[TABLE="width: 408"]
<tbody>[TR]
[TD]ITEM[/TD]
[TD]QTY[/TD]
[TD]WIDTH[/TD]
[TD]LENGTH[/TD]
[TD]THICK[/TD]
[TD]MATL[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]4[/TD]
[TD]23 [/TD]
[TD]42 [/TD]
[TD] 13/16[/TD]
[TD]Solid Ash[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]26 3/8[/TD]
[TD]32 7/8[/TD]
[TD] 3/4[/TD]
[TD]Oak Ply[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD]16 3/4[/TD]
[TD]32 7/8[/TD]
[TD] 3/4[/TD]
[TD]Oak Ply[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]32 3/8[/TD]
[TD] 3/4[/TD]
[TD]Solid Ash[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2[/TD]
[TD]2 3/4[/TD]
[TD]32 3/8[/TD]
[TD] 3/4[/TD]
[TD]Solid Ash[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]2[/TD]
[TD]1 1/2[/TD]
[TD]32 3/8[/TD]
[TD] 3/4[/TD]
[TD]Birch Ply[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]4[/TD]
[TD]1 3/4[/TD]
[TD]32 3/8[/TD]
[TD] 3/4[/TD]
[TD]Birch Ply[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]4[/TD]
[TD]2[/TD]
[TD]9 1/2[/TD]
[TD]1 1/4[/TD]
[TD]Hardwood[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]4[/TD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TD] 13/16[/TD]
[TD]Solid Ash[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4[/TD]
[TD]26 3/8[/TD]
[TD]64 7/8[/TD]
[TD] 3/4[/TD]
[TD]Oak Ply[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]4[/TD]
[TD]16 3/4[/TD]
[TD]64 7/8[/TD]
[TD] 3/4[/TD]
[TD]Oak Ply[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4[/TD]
[TD]3[/TD]
[TD]64 3/8[/TD]
[TD] 3/4[/TD]
[TD]Solid Ash[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]4[/TD]
[TD]2 3/4[/TD]
[TD]64 3/8[/TD]
[TD] 3/4[/TD]
[TD]Solid Ash[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]4[/TD]
[TD]1 1/2[/TD]
[TD]64 3/8[/TD]
[TD] 3/4[/TD]
[TD]Birch Ply[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]8[/TD]
[TD]1 3/4[/TD]
[TD]64 3/8[/TD]
[TD] 3/4[/TD]
[TD]Birch Ply[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]8[/TD]
[TD]2[/TD]
[TD]9 1/2[/TD]
[TD]1 1/4[/TD]
[TD]Hardwood[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]8[/TD]
[TD]1 1/2[/TD]
[TD]19 1/2[/TD]
[TD] 3/4[/TD]
[TD]Birch Ply[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]4[/TD]
[TD]14 1/2[/TD]
[TD]61 3/8[/TD]
[TD] 1/2[/TD]
[TD]CDX Plywood[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited by a moderator:

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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