TheeUnderseer
New Member
- Joined
- Mar 16, 2017
- Messages
- 4
Hi MrExcel Forum,
This is my 1st post so I'll try to start on a good foot.
I receive product bill-of-materials (BOM) data in an input table and I need to summarize quantity of one type of high-cost components (ABCComp) per finished product in an output table.
Both tables list finished product part-numbers. The components I want to summarize are all prefixed "ABC" but are present in different quantities in different finished products, also some do not contain these ABCComp components at all.
I have tried using INDEX-MATCH without success and think that some form of array formula might be the way to go but am struggling to get one to work which only matches on the "ABC" at the beginning of my target components.
I appreciate all of the help and advice you can offer.
Many thanks, Tym
Example Input Table containing Bill-of-Materials data
<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #ffff00, align: left"]Finished Product No[/TD]
[TD="bgcolor: #ffff00, align: left"]Component Part Number[/TD]
[TD="bgcolor: #ffff00, align: left"]Component Qty[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Comp1[/TD]
[TD="align: left"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Comp2[/TD]
[TD="align: left"]5[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Comp3[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp4[/TD]
[TD="align: left"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp5[/TD]
[TD="align: left"]10[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp6[/TD]
[TD="align: left"]2[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp7[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp8[/TD]
[TD="align: left"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp9[/TD]
[TD="align: left"]5[/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp10[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp11[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp12[/TD]
[TD="align: left"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp13[/TD]
[TD="align: left"]4[/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp14[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp15[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]ABCComp2[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp17[/TD]
[TD="align: left"]3[/TD]
[TD="bgcolor: #cacaca, align: center"]21[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp18[/TD]
[TD="align: left"]5[/TD]
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
Example Completed Output Table With Summary of ABCCompX Components
<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #ffff00, align: left"]Finished Product No[/TD]
[TD="bgcolor: #ffff00, align: left"]ABC Part Number in Product? (Y/N)[/TD]
[TD="bgcolor: #ffff00, align: left"]ABC Part Number[/TD]
[TD="bgcolor: #ffff00, align: left"]ABC PN Qty[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Y[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Y[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]N[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Y[/TD]
[TD="align: left"]ABCComp2[/TD]
[TD="align: left"]9[/TD]
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
This is my 1st post so I'll try to start on a good foot.
I receive product bill-of-materials (BOM) data in an input table and I need to summarize quantity of one type of high-cost components (ABCComp) per finished product in an output table.
Both tables list finished product part-numbers. The components I want to summarize are all prefixed "ABC" but are present in different quantities in different finished products, also some do not contain these ABCComp components at all.
I have tried using INDEX-MATCH without success and think that some form of array formula might be the way to go but am struggling to get one to work which only matches on the "ABC" at the beginning of my target components.
I appreciate all of the help and advice you can offer.
Many thanks, Tym
Example Input Table containing Bill-of-Materials data
* | A | B | C |
<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #ffff00, align: left"]Finished Product No[/TD]
[TD="bgcolor: #ffff00, align: left"]Component Part Number[/TD]
[TD="bgcolor: #ffff00, align: left"]Component Qty[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Comp1[/TD]
[TD="align: left"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Comp2[/TD]
[TD="align: left"]5[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Comp3[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp4[/TD]
[TD="align: left"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp5[/TD]
[TD="align: left"]10[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp6[/TD]
[TD="align: left"]2[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp7[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Comp8[/TD]
[TD="align: left"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp9[/TD]
[TD="align: left"]5[/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp10[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp11[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]Comp12[/TD]
[TD="align: left"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp13[/TD]
[TD="align: left"]4[/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp14[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp15[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]ABCComp2[/TD]
[TD="align: left"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp17[/TD]
[TD="align: left"]3[/TD]
[TD="bgcolor: #cacaca, align: center"]21[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Comp18[/TD]
[TD="align: left"]5[/TD]
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
Example Completed Output Table With Summary of ABCCompX Components
* | A | B | C | D |
* | * | |||
<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #ffff00, align: left"]Finished Product No[/TD]
[TD="bgcolor: #ffff00, align: left"]ABC Part Number in Product? (Y/N)[/TD]
[TD="bgcolor: #ffff00, align: left"]ABC Part Number[/TD]
[TD="bgcolor: #ffff00, align: left"]ABC PN Qty[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: left"]Product 1[/TD]
[TD="align: left"]Y[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: left"]Product 2[/TD]
[TD="align: left"]Y[/TD]
[TD="align: left"]ABCComp1[/TD]
[TD="align: left"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: left"]Product 3[/TD]
[TD="align: left"]N[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: left"]Product 4[/TD]
[TD="align: left"]Y[/TD]
[TD="align: left"]ABCComp2[/TD]
[TD="align: left"]9[/TD]
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4