Power Query to Load Data on Multiple Excel Sheets

mayankhb

New Member
Joined
Jan 21, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi Friends,

I have more than 10 files in a folder. What I am trying is to be able to load those files in one Excel file (but on different sheets) using Power Query. I know Power Query can combine all these files together and load them on one sheet but that's not possible in this case (because each individual file has around 9 Lakh rows and I want this data row-wise). Is there any solution?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I can't see any real benefit to what you're doing, but you could add an index column to your combine query, then create additional queries that output different ranges of the index values to separate tables.
 
Upvote 0
Thanks for replying sir. I understand the adding index column part but I don't understand how I will be able to make it dynamic based on the number of excel files. Like there should be 10 sheets created for 10 workbooks 11 for 11 and so on....
 
Upvote 0

Forum statistics

Threads
1,223,677
Messages
6,173,791
Members
452,534
Latest member
autodiscreet

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