Combine Tables with Identical Layouts sourced from different workbooks into a single pivot table

kacker17

New Member
Joined
Jun 5, 2019
Messages
4
I have been attempting to follow the instructions found on the below link to pull data from identical tables into a single pivot table using power pivot. Each table contains data from a different year-all 5 tables have the same exact column headers, just different data for each respective column. Having it all in a single file made the file too big to function adequately.

https://www.contextures.com/PowerPivot-Identical-Excel-Files.html

When I try to validate the new data sources in power pivot I get the following:

"The SQL statement is not valid. There are no columns detected in the statement."

One thread I read said it's because I have more columns in some of my sheets and that deleting the extra columns fixes the issue. I have checked this and verified all of my columns in the 5 tables have identical headers.

Any help you can offer would be super helpful.

KACKER
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
try Alt+D+P

edit:
to be sure about headers, copy header row from first table/range and paste into all next tables/ranges
 
Last edited:
Upvote 0
I overlooked different workbooks so try PowerQuery (Get&Transform) with Append feature then you can create PivotTable directly from QueryTable
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
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