Power Query: merging 3 workbooks (get data from folder)

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I want to merge (append) 3 workbooks using Power Query. PowerQ would load only the first file a_2019.xlsx and give me error message. I shared the folder below which has 3 files. What could cause that. I tried manything but still giving me error message. I basically created the first file and then made a copy of it 2 times and changed the name and sheets names etc. Could that cause the issue? Thanks a lot.


a_2019.xlsx
ABCDE
1YearSales RepItemAmountFile Name
22019SamTV100a.xlsx
32019JimTV100a.xlsx
42019AdamCell Phone100a.xlsx
52019SueComputer100a.xlsx
62019HellenWasher100a.xlsx
72019SeanDryer100a.xlsx
82019MikeDryer100a.xlsx
92019LizTV100a.xlsx
102019JackMicrowave100a.xlsx
A_2019


b_2020.xlsx
ABCDE
1YearSales RepItemAmountFile Name
22020SamTV200b.xlsx
32020JimTV200b.xlsx
42020AdamCell Phone200b.xlsx
52020SueComputer200b.xlsx
62020HellenWasher200b.xlsx
72020SeanDryer200b.xlsx
82020MikeDryer200b.xlsx
92020LizTV200b.xlsx
102020JackMicrowave200b.xlsx
B_2020


c_2021.xlsx
ABCDE
1YearSales RepItemAmountFile Name
22021SamTV300c.xlsx
32021JimTV300c.xlsx
42021AdamCell Phone300c.xlsx
52021SueComputer300c.xlsx
62021HellenWasher300c.xlsx
72021SeanDryer300c.xlsx
82021MikeDryer300c.xlsx
92021LizTV300c.xlsx
102021JackMicrowave300c.xlsx
C_2021


 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Found the answer. I just watched a video. I need to make them tables. Thank you.
 
Upvote 0

Forum statistics

Threads
1,223,798
Messages
6,174,667
Members
452,576
Latest member
AlexG_UK

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