Adding New files to existing worksheet

nmh7

New Member
Joined
Jul 19, 2021
Messages
44
Office Version
  1. 365
Platform
  1. Windows
I have an already existing workbook with a bunch of parts. I am trying to create a macro that will take new files and add them into the already existing workbook. I have the part number, quantity and where each part was used. The original has a lot more information that I do not need. Is there a way I can just add a new file and have a macro sort out the information I need to add into the existing workbook and combine if there are duplicate parts. I will post a screenshot for what I have. The first picture is what I have and the 2nd is what I would want to add. The chart in the first picture was created using power query.
Screenshot (8).png
Screenshot (9).png
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Screenshot (10).png
I am going to get rid of the power query and use this picture for the file instead.
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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