Merging Workbooks & Worksheets.

Nanogirl21

Active Member
Joined
Nov 19, 2013
Messages
330
Office Version
  1. 365
Platform
  1. Windows
I have 74 Excel workbooks all with a common worksheet named Data. How can I merge all 74 Data worksheets into 1 master workbook and worksheet? The headers (Column A-AZ Row 1) are the same. There are other worksheets in all the files, but I am only interested in merging the Data worksheet. All 74 workbooks are in a folder on my desktop. Any help is appreciated. Thank you.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
The best way would be through Power Query. You can bring in all files associated to a single Folder location and then Append (not Merge) them together into a data set.

Edited to Add: I say Append (not Merged) because of it being about Power Query. Merging will bring them together horizontally where Appending will bring them together vertically.
 
Upvote 0
The best way would be through Power Query. You can bring in all files associated to a single Folder location and then Append (not Merge) them together into a data set.

Edited to Add: I say Append (not Merged) because of it being about Power Query. Merging will bring them together horizontally where Appending will bring them together vertically.

Thank you. I've never used Power Query. How do I get that started?
 
Upvote 0
Thank you. I've never used Power Query. How do I get that started?
In Excel, you can access it in the Data tab and then the Get & Transform Data. Select the Get Data > From File > From Folder

The Power Query Editor will then open. After that, since we can't see your Network/Computer folder structure or files, you will probably need to ask more pointed questions with each step. This forum is a great tool, and googling in general is extremely helpful.
 
Upvote 0
I am getting Expression.Error: The key did not match any rows in the table when trying to combine and load the datav
 
Upvote 0
Ahhh I figured it out! 1 file was not Macro file type. Thank you all!
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

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