How to merge multiple workbooks with multiple sheets in a SharePoint folder

chuckbo

New Member
Joined
Feb 10, 2010
Messages
22
I'm trying to merge a bunch of workbooks in a SharePoint in a folder but keep all of the worksheets separate when they merge across files.

What I mean:
Imagine I have a State file Alabama.xlsx that contains 3 tabs
May Sales
June Sales
July Sales
All of the tabs have five columns: Date, Customer, Product, Quantity, and Total Receipts

And I have a workbook for each state.

I want to create a Power Query that will merge the 50 May sheets into a single sales sheet, merge the 50 June sheets into a single sheets, and merge the 50 July sheets into a third sheet. I built the query for the May table without problem. Do I have to start over to define the 2nd and 3rd table? I was looking for a way to copy/paste the first query and then just change the May sheet to the June sheet, and I have two copies of the May table. I haven't been able to find the step in the query that specifies the sheet (and change it from May to June).

Chuck
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Why can’t you combine all together? It would be a lot easier (see link). If you need to do it, then create a parameter to set the month name, save a copy of the master file and then change the parameter.


 
Upvote 0
You are correct.

However, I simplified the example to make it more understandable. There are a lot of peculiarities that prevent us from merging the actual sheets.
Chuck
 
Upvote 0

Forum statistics

Threads
1,223,339
Messages
6,171,534
Members
452,409
Latest member
brychu

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