13 - Combine All the Excel Files in a folder Using Power Query

  Рет қаралды 134,458

TrumpExcel

TrumpExcel

Күн бұрын

In this video, I will show you how to combine all the Excel files in a folder using Power Query.
One great benefit of doing this is that in future in any of the workbook data gets updted or if you add more files to the folder, you can quickly get the combines data with a single click
✅ Power Query Course Download files: bit.ly/power-query-download
☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - www.buymeacoffee.com/SumitB
Free Excel Course (Basic to Advanced) - trumpexcel.com/learn-excel/
Best Excel Books: trumpexcel.com/best-excel-books/
Subscribe to get awesome Excel Tips every week: kzfaq.info...
#Excel #PowerQuery #ExcelTips

Пікірлер: 99
@jaded.9915
@jaded.9915 Жыл бұрын
I spent a whole day running circles . I try to import a bunch of datasets from folder for my case study. The error message would not go away till I saw your amazing video! I am grateful for for help. Thanks for the high quality video.
@YogeshSharma-ui7xx
@YogeshSharma-ui7xx 7 ай бұрын
Same was for me as well😮
@otroleonarbe
@otroleonarbe 4 ай бұрын
This is a great example how to load multiple excel files in an automated way. Thanks again for your master class!
@sebastianorue8283
@sebastianorue8283 2 жыл бұрын
This saved me so much time! I had to merge 81 excel worksheets and thank god I found your video. There are a total of 90 rows haha. THANK YOU!
@phey6304
@phey6304 3 жыл бұрын
i like the way you present , clear and concise, most importantly easy to follow.. there are a lot of other youtube videos uploaded where the presenter is very confusing and sounds like a total show off.. Truly, people with brilliant minds are those who stay down to earth and just shines through without any effort
@trumpexcel
@trumpexcel 3 жыл бұрын
Thank you so much for the kind words Penny... Glad you're finding the videos useful :)
@pandamoniumdev
@pandamoniumdev 3 жыл бұрын
you literally just saved me a week's worth of work. GOD BLESS YOU!
@kinchannel3264
@kinchannel3264 9 ай бұрын
Hero bro , so simple and useful , love the way you explain without complications ❤️
@evelic
@evelic 11 ай бұрын
But for this to properly work, you need to have the same amount of columns and the same names in each file, right? How to circle around this issue if you have one extra column in one file that is not in the other files, and properly include it in the combined file?
@sivakumarbalachandran4487
@sivakumarbalachandran4487 9 ай бұрын
Absolutely thankful to you Sumit. The whole series of videos for Power Query was like some treasure discovery - so very helpful. Wonderful and detailed explanation
@trumpexcel
@trumpexcel 9 ай бұрын
Thanks for the kind words. Glad you liked it
@matthewthomas1279
@matthewthomas1279 3 жыл бұрын
Very well explained. Thanks for covering the in and around issues as well.. :)
@sujeelmahadev4592
@sujeelmahadev4592 7 ай бұрын
Hi Sumit, thank you so much for sharing your wonderful content, greatly appreciated. I am also like the few other viewers, spent a lot of time trying to figure out some stuff. However, you have covered it all with clear explanations which were easy to follow. In most cases on other videos, error-proofing is never mentioned and covered, leaving me/us behind from progressing. A huge thank you for this, please keep it up!
@Mesh-D
@Mesh-D 5 ай бұрын
You sir are a carrier saver. That error kept bugging me for the past week till I watched your video. Thank you! I'm going to check your website immediately.
@mesunekonyan
@mesunekonyan Жыл бұрын
your tutorials are always easy to follow! thank you!
@modernnetworks3479
@modernnetworks3479 2 жыл бұрын
Many thanks for your video which has just saved me from Expression.Error misery. I followed your steps and success; I was able to merge all the various worksheets into one. Many thanks
@audiovideophile5317
@audiovideophile5317 Ай бұрын
It looks like the included "Power Query Course Download files" are the result files AFTER performing the exercise. Or at least in some cases. It would be helpful if they were the source files that you start the exercise with so we end up with the same results. Some files also appear to be missing in the zip file compared to the exercise.
@huguititi
@huguititi 2 жыл бұрын
This video is that one who help a lot working with multiple files in power query, thanks!!!
@garyshorn
@garyshorn 2 жыл бұрын
When I am appending the files the headers of each file is coming before data. How can I remove the header of each files from being imported?
@kc329191
@kc329191 3 жыл бұрын
Excellent tutorial, Thank You!
@adamay3463
@adamay3463 2 жыл бұрын
I found what I need thanks to you. There is a lot of info in youtube and google. It is a good tutorial.
@alexandraprodriguez
@alexandraprodriguez 3 жыл бұрын
Excellent explanation! Easy to follow and implement on my files. I used the power query to combine excel files from a folder. There are hyperlinks in the excel files that are not transferring as hyperlinks. Is there a way to correct this?
@fabiananascimento8898
@fabiananascimento8898 3 жыл бұрын
This video helps me a lot! Thank you!
@williamarthur4801
@williamarthur4801 2 жыл бұрын
Thank you one again, especially for covering why the 'combine' button can give an error if file names inconsistant.
@margad-erdeneboldbaatar4704
@margad-erdeneboldbaatar4704 2 жыл бұрын
Thanks so much for another wonderful lesson.
@robertromero9303
@robertromero9303 3 жыл бұрын
Easy Solution to a very annoying problem! Great video!
@dineshpandey5008
@dineshpandey5008 Жыл бұрын
Amazing explanation... Love to watch your playlist...
@md.saifulislam159
@md.saifulislam159 2 жыл бұрын
Thanks very much. very well explained & helped me a lot.
@davidkemboi5546
@davidkemboi5546 Жыл бұрын
You are my saviour Papa. Keep it up.
@kebincui
@kebincui 3 жыл бұрын
Very good tutorial, thank you
@sanjeevmali3366
@sanjeevmali3366 2 жыл бұрын
I did it step by step as you, It worked, You were of really great help men. I would give 10 out of 10
@trumpexcel
@trumpexcel 2 жыл бұрын
Thanks Sanjeev... Glad you found it useful :)
@garylillich
@garylillich 2 жыл бұрын
Thank you for share the files to work along with the video. Thank you for sharing the video. A couple questions What if spreadsheet C is missing a column that was in Table A. , and you still want to combine all the columns in A, B, C and so forth? Can we do that? Can workbooks have extra tabs for which we do not want to combine the data? Suppose all Tables have wanted data, but the colums are in different order?
@nihalgoel636
@nihalgoel636 3 жыл бұрын
Thanks sir highly grateful for your guidance
@VietLe-ls1oj
@VietLe-ls1oj 6 ай бұрын
You saved my life, thanks for the video.
@TheJoshtheboss
@TheJoshtheboss Жыл бұрын
Excellent job. Well done!!
@sintulaha8659
@sintulaha8659 4 жыл бұрын
Excellent tutorial video
@recepresitogullar6648
@recepresitogullar6648 2 жыл бұрын
Great! Thank you! You saved my time.
@thaeralkhawaja3518
@thaeralkhawaja3518 11 ай бұрын
thank you after 2 days of searching this worked for me
@guillermogachuz2970
@guillermogachuz2970 Жыл бұрын
Gracias por compartir tus conocimientos.
@alfredoluwatomi6899
@alfredoluwatomi6899 Жыл бұрын
Nice explanation. Kudos
@stanruswa9108
@stanruswa9108 Жыл бұрын
Fantastic this saved me as I was struggling with this so much
@sruthiboddu8729
@sruthiboddu8729 2 жыл бұрын
Thanks very, very detailed and easily understood. But I have hyperlinks in my data and I lost them. Can you please tell us how to keep the hyperlinks in the query and load ?
@davidsampson8668
@davidsampson8668 Жыл бұрын
Very useful info, thank you
@eddiel6608
@eddiel6608 2 жыл бұрын
Very Well Done!!!!
@ymn76ymn
@ymn76ymn Жыл бұрын
I found this method to be the best... thanksssssssss.
@akashmon5065
@akashmon5065 4 жыл бұрын
Thank you sir
@mehulmulye
@mehulmulye 3 жыл бұрын
Hi ur video is very informative... Thank you.... I have some data but getting error in one column only.... Can u pls help....
@s1ngularityxd64
@s1ngularityxd64 2 жыл бұрын
Thank you, on point
@excelemployeeleavetracker1274
@excelemployeeleavetracker1274 3 жыл бұрын
Great Video!
@hassab21
@hassab21 2 жыл бұрын
I like very much the way you explain the subject. All videos are great
@robbysandhu4425
@robbysandhu4425 3 жыл бұрын
Will it load data if there is changes in headers?
@nlopedebarrios
@nlopedebarrios 2 жыл бұрын
Hi, great tutorial. However, I would like to load the data into an existing sheet, but the option is greyed out. What could it be? The source is a Folder.
@deepaknagar5697
@deepaknagar5697 4 жыл бұрын
Which version of excel you are using?
@mufycw
@mufycw Жыл бұрын
What is the logic of removing the other columns and keeping two at 6:08 ? If you keep those column does it give some other result than expected?
@jam05eun
@jam05eun 3 жыл бұрын
Hi Sumit! Thanks for this tutorial video, this is very helpful! I need to do something like this, however, I would need to add 2 additional columns to the consolidated tables. I need to add "Country" and "Date Extracted (MMM-YY format)". Is this doable in Power Query? Or do you have an existing tutorial on this? btw, for Country column, each excel file comes from different countries, so for ex. first xls is from Canada, so whole Country column should be Canada. Then next xls is India, so the next combined table will be followed by India. I hope you can give me advise. Thanks!
@Imm23743
@Imm23743 2 жыл бұрын
Hi Jam. I’ve done something similar. If you have a fixed naming convention, then you can transform with additional column. Eg if the file name is Canada Feb 2021.xlsx, you can transform the file name to create those columns
@zaraknadeem5972
@zaraknadeem5972 6 ай бұрын
Hey Sumit does this append all the data from different files? I noticed we didnt need to use the append function of PQ with this method. Can you plz clarify this for me?
@sujitchakraborty6649
@sujitchakraborty6649 2 жыл бұрын
If I need to combine Sheet kind and get rid of rows which doesn't have values while combining..Do I need to work on sample file query?
@DinoAMAntunes
@DinoAMAntunes 2 жыл бұрын
Hello in minute 4:35 instead of Excel Files if we have .csv files we can´t do with Excel.Workbook(), What function to use in this case? Tks in advance
@winnieip9851
@winnieip9851 2 жыл бұрын
Good video on teaching me on using power query. But when I follow ur steps in combining the tables for 12 months of a year. I just got 2 columns : Month, Table. But not a full expanded table. Pls advise how to fix this. thanks
@mirrrvelll5164
@mirrrvelll5164 4 жыл бұрын
When filtering out .extensions, why do you go to Text filter instead of just "uncheck"?? I saw that by many videos of other people...could you tell if there is a reason or any advantage/disadvantage? usually I am using uncheck...
@balamira297
@balamira297 Жыл бұрын
I think that's becase he wants to filter all the files which have the extensions that begin with .xls, so that even macro files with .xlsm would also be considered. If he used the filter option and checked .xlsx only the xslx files are considered ignoring the rest. Hope I make sense.
@YogeshSharma-ui7xx
@YogeshSharma-ui7xx 7 ай бұрын
Wonderfull
@paparaoarigila3705
@paparaoarigila3705 5 ай бұрын
Is it possible to change sheet names in existing power query files.
@eyitayoeyitayo-lawal2331
@eyitayoeyitayo-lawal2331 3 жыл бұрын
Brilliant. You just cleared a cloud of confusion between combining and editing straight and transform data before the combine.
@andreybudnikov5920
@andreybudnikov5920 2 жыл бұрын
Tell me please. How to track changes in the source data?
@arindammajumder3095
@arindammajumder3095 8 ай бұрын
Hi bro! While adding the column using the syntax Excel.Workbook(Content) under tables I am getting Error and not Table. Where I am doing wrong?
@apsarshaik9407
@apsarshaik9407 4 жыл бұрын
Hi sir, thank you for your videos, which is vary helpfull, i have one challange.. everyday i have to send the cdr (calls count) report every hour, i have tried with power query but the problem is wen ever i replace the data in table the power query piot counting histry(yesturday) count also need help on this plz
@sayoung190
@sayoung190 4 жыл бұрын
Can the query only import or update new data from an updated excel file in the folder? I mean, it will not duplicate old data and only import new data that did not already exist in the excel files every time someone refreshes. Example: You created the North-west data file in the video (9:45/10:30), the query imported all the rows in the file, which is a duplicate of North data file. What if the North-data file is updated weekly and the folder has North-data_week01, week02, .....Week04. The North-data_WK04 file has content from week 01, how do you setup power query to only import the newly updated value in week 04 file and not duplicate all of its data?
@imranali-iy5wk
@imranali-iy5wk 3 жыл бұрын
I have a folder containing 19 Excel worksheets with each worksheet containing 16 sheets inside it. While the name of the excel files are different, the name of individual sheets inside them is same i.e. they start from "Sheet 1" and go till "Sheet 16". What I have to do is append each sheet at the end of the next one and continue the same to get a new excel file containing only one sheet. (In other words, sheet 1 from file two (say, B) will be appended at the end of sheet 1 from file one (say, A) and sheet 1 from file three (say, C) will be appended at the end of the above two files containing sheet 1 from files A and B, respectively and so on untill every file is added).
@miryasiralikhan2518
@miryasiralikhan2518 2 жыл бұрын
How can i use this method for folder containing PDF files only including tables?
@AnkitJainCreations
@AnkitJainCreations 3 ай бұрын
Will merging of file work through power queries if the first column of the 2nd file have duplicates?
@trumpexcel
@trumpexcel 3 ай бұрын
Yes, it would still work. You can get rid of the duplicates once the files are combined
@kamranghayyur2401
@kamranghayyur2401 2 жыл бұрын
Woow 👍
@chiragdabhi4929
@chiragdabhi4929 2 жыл бұрын
I want combine excel as a verically.not upend,is this possible??
@minadev1
@minadev1 Жыл бұрын
what do you mean by using LOCALE?
@arianebagabe
@arianebagabe Жыл бұрын
Hello. I don’t have the “Get Data” option under the “Data” tab. Please help.
@gulfsecurities5075
@gulfsecurities5075 Жыл бұрын
what if we have sheets instead of tables?
@praveenkumar.k3040
@praveenkumar.k3040 10 ай бұрын
Hai I want to help How to split the 720x400x0.010
@kediasc
@kediasc 7 ай бұрын
If excel files have different columns then what to do
@manjunathdes6336
@manjunathdes6336 Жыл бұрын
Hi, can i merge 30 workbook holding 46 lakh row
@minadev1
@minadev1 Жыл бұрын
What do you mean by CONTECT IS THE NAME OF COLUMN, what column are you talking about, there are more than a few columns in a table, I am confuse can you please explain in detail?
@redastair
@redastair Жыл бұрын
@4:01 - it’s not the Content column of the excel files but the Content column that PQ brings back as a reference to the content of the underlying file. So it should be the same when you run the same process. But it’s referring to the name of the column that holds the content of each of the files being combined.
@madhun8092
@madhun8092 2 жыл бұрын
I followed these steps and it gave me output… when am updating any rows data it’s giving output accurately however if am updating columns to source data it’s not getting picked in power editor. Source data is in table format only ….. Please help pleaaasseee
@skcp151
@skcp151 2 жыл бұрын
when i add new files , shows key didnt match any rows in the table
@sangramwavhal4919
@sangramwavhal4919 3 жыл бұрын
What to do if folder location is changing everyday
@matthewroman7490
@matthewroman7490 Жыл бұрын
Did anyone not have the edit option after choosing the folder
@vedkumars
@vedkumars 2 жыл бұрын
only Sheet type is showing , table type is not showing while clicking on table.
@OviWanKeno9i
@OviWanKeno9i 2 жыл бұрын
Hmm. I have no Tables in my 70 files, only Sheets. I am okay with Sheets if it still grabs all the data :)
@7absinth
@7absinth 2 жыл бұрын
This is not I am looking for. It doesn't sum all tables. It just append and there is more easy way to append the tables. But question is how to consolidate inner table data into one table?
@njabulonzimande2893
@njabulonzimande2893 2 ай бұрын
I can't emphasize the importance of this video!
@gamehub8068
@gamehub8068 2 жыл бұрын
यदि सारी एक्सेल के फाइल का डाटा मिला क्या 20 लाख होगा कि तो भी हो जाएगा???
@Alexis.Sanchez730
@Alexis.Sanchez730 18 күн бұрын
***imp
@podespault
@podespault 2 жыл бұрын
This doesn't show how to merge multiple excel files with multiples tabs... it's so frustrating! Great tutorial nonetheless
@christansdad
@christansdad Жыл бұрын
This is not useful at all. You keep vacillating back and forth between the proper method and showing what would generate errors. You need to walk straight through doing it the proper way. Then you should go back and show missteps that would generate common errors. This is not a useful presentation at all.
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 32 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 10 МЛН
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
How to combine (and debug) Excel files From SharePoint Folder
14:17
Access Analytic
Рет қаралды 31 М.
Introducing Python in Excel
19:01
Leila Gharani
Рет қаралды 1,5 МЛН
10 awesome Power Query tricks you NEED to know! | Excel Off The Grid
15:44
Excel Off The Grid
Рет қаралды 28 М.
11 - Merge Tables in Excel using Power Query
9:58
TrumpExcel
Рет қаралды 44 М.
Power Query - Data from many folders with Single Query
12:01
BA Sensei
Рет қаралды 12 М.