Bets way to consolidate multiple sheets containing raw data

Monty85

Board Regular
Joined
May 6, 2019
Messages
62
Office Version
  1. 365
Platform
  1. Windows
As the title hints, I am looking for a solution to merge the data contained in multiple sheets into a single sheet. The data itself is formatted identically in every sheet but isn't converted to a range or table.

I've tried using the "Consolidate" function in the Data menu but that would only sum the amounts together and not stack the data down the page.

Through some searches I found the solution using Power Query but as my data isn't formatted as a table by default thats not really an option (as if i need to go into every sheet to do that I may as well just copy and paste the data).
 
Well, I see your issue to start with. You don't have column headers for each column. This is critical. For Column A, if there is data, then it needs to have a column header. As I said earlier, PQ appends data based upon the column header. No header and you have a mess. In you example column A does not contain any data. In the link below, I have added headers for each column except A. I then appended each of them to create one file.

Thanks, I was afraid of that.

I don't think there's any practical way for me to add headers into the sheets though (there's just too many files for this to be efficient).
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Then I guess, you will have to find an alternative solution. Good Luck. I've given you my best.
 
Upvote 0
Then I guess, you will have to find an alternative solution. Good Luck. I've given you my best.
It's a strange one - other files in the set work ok (and they have the same headers situation).

Thanks for your help anyway, much appreciated - i'll keep at it.
 
Upvote 0
Have you tried my macro solution? I just added a new sheet called Sheet1, ran the macro and it and it consolidated all of other 21 tabs.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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