VBA to build table based on 2 spreadsheets

JamieT

New Member
Joined
Jun 23, 2014
Messages
1
Hi Guys & Gals - I really need some with VBA. I have two spreadsheets and i need to build a table out of them.
First spreadsheet tells me which builds are against which equipment numbers (the builds are the A numbers across the top)

Eq No.A465A506A507A508A510A511A514A525A561A557
(mm)
A560
96550153119001
965501571
965501581
965501601
965501621
965501631

<tbody>
</tbody>
Second spreadsheet tells me which spare parts and quantity are against which builds

Part NoA506A507A508A510A511A514A515A516A525A557A560
BAA4725923532
XLA06171212111
BAC171811211
BAE398222111

<tbody>
</tbody>

However I need to figure out how to make a table of equipment numbers and associated spare parts with sum quantities.

eqnumpart noQty
96550153 BAE39823
96550153 BAA472595
96550153 XLA06172
96550153 BAC17182

<colgroup><col><col><col></colgroup><tbody>
</tbody>

Can anyone help? It doesn't necessarily have to sum the quantities, it could repeat part numbers with different quantities and then i could put it into a pivot table to get the quantities summed and remove the duplicate part nos.

Really hoping someone can help me - This seems impossible.
 
Last edited:

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,214,543
Messages
6,120,123
Members
448,947
Latest member
test111

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