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

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • 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: th-cam.com/users/trumpexc...
    #Excel #PowerQuery #ExcelTips

ความคิดเห็น • 99

  • @jaded.9915
    @jaded.9915 ปีที่แล้ว +10

    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.

  • @otroleonarbe
    @otroleonarbe 4 หลายเดือนก่อน +1

    This is a great example how to load multiple excel files in an automated way. Thanks again for your master class!

  • @sebastianorue8283
    @sebastianorue8283 2 ปีที่แล้ว +3

    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 ปีที่แล้ว +4

    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 ปีที่แล้ว +2

    you literally just saved me a week's worth of work. GOD BLESS YOU!

  • @kinchannel3264
    @kinchannel3264 9 หลายเดือนก่อน +2

    Hero bro , so simple and useful , love the way you explain without complications ❤️

  • @matthewthomas1279
    @matthewthomas1279 3 ปีที่แล้ว +5

    Very well explained. Thanks for covering the in and around issues as well.. :)

  • @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.

  • @sivakumarbalachandran4487
    @sivakumarbalachandran4487 9 หลายเดือนก่อน +1

    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

  • @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!

  • @evelic
    @evelic 11 หลายเดือนก่อน +2

    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?

  • @davidkemboi5546
    @davidkemboi5546 ปีที่แล้ว

    You are my saviour Papa. Keep it up.

  • @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

  • @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.

  • @huguititi
    @huguititi 2 ปีที่แล้ว

    This video is that one who help a lot working with multiple files in power query, thanks!!!

  • @mesunekonyan
    @mesunekonyan ปีที่แล้ว

    your tutorials are always easy to follow! thank you!

  • @dineshpandey5008
    @dineshpandey5008 ปีที่แล้ว

    Amazing explanation... Love to watch your playlist...

  • @robertromero9303
    @robertromero9303 3 ปีที่แล้ว

    Easy Solution to a very annoying problem! Great video!

  • @guillermogachuz2970
    @guillermogachuz2970 2 ปีที่แล้ว

    Gracias por compartir tus conocimientos.

  • @fabiananascimento8898
    @fabiananascimento8898 3 ปีที่แล้ว

    This video helps me a lot! Thank you!

  • @margad-erdeneboldbaatar4704
    @margad-erdeneboldbaatar4704 2 ปีที่แล้ว

    Thanks so much for another wonderful lesson.

  • @kc329191
    @kc329191 3 ปีที่แล้ว

    Excellent tutorial, Thank You!

  • @md.saifulislam159
    @md.saifulislam159 2 ปีที่แล้ว

    Thanks very much.
    very well explained & helped me a lot.

  • @kebincui
    @kebincui 3 ปีที่แล้ว

    Very good tutorial, thank you

  • @nihalgoel636
    @nihalgoel636 3 ปีที่แล้ว

    Thanks sir highly grateful for your guidance

  • @recepresitogullar6648
    @recepresitogullar6648 2 ปีที่แล้ว

    Great! Thank you! You saved my time.

  • @sintulaha8659
    @sintulaha8659 4 ปีที่แล้ว

    Excellent tutorial video

  • @thaeralkhawaja3518
    @thaeralkhawaja3518 11 หลายเดือนก่อน

    thank you after 2 days of searching this worked for me

  • @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 :)

  • @VietLe-ls1oj
    @VietLe-ls1oj 6 หลายเดือนก่อน

    You saved my life, thanks for the video.

  • @alfredoluwatomi6899
    @alfredoluwatomi6899 ปีที่แล้ว

    Nice explanation. Kudos

  • @williamarthur4801
    @williamarthur4801 2 ปีที่แล้ว +1

    Thank you one again, especially for covering why the 'combine' button can give an error if file names inconsistant.

  • @davidsampson8668
    @davidsampson8668 ปีที่แล้ว

    Very useful info, thank you

  • @TheJoshtheboss
    @TheJoshtheboss ปีที่แล้ว

    Excellent job. Well done!!

  • @eddiel6608
    @eddiel6608 2 ปีที่แล้ว

    Very Well Done!!!!

  • @stanruswa9108
    @stanruswa9108 ปีที่แล้ว

    Fantastic this saved me as I was struggling with this so much

  • @s1ngularityxd64
    @s1ngularityxd64 2 ปีที่แล้ว

    Thank you, on point

  • @ymn76ymn
    @ymn76ymn ปีที่แล้ว

    I found this method to be the best... thanksssssssss.

  • @akashmon5065
    @akashmon5065 4 ปีที่แล้ว

    Thank you sir

  • @garyshorn
    @garyshorn 2 ปีที่แล้ว +3

    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?

  • @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?

  • @YogeshSharma-ui7xx
    @YogeshSharma-ui7xx 7 หลายเดือนก่อน

    Wonderfull

  • @excelemployeeleavetracker1274
    @excelemployeeleavetracker1274 3 ปีที่แล้ว

    Great Video!

    • @hassab21
      @hassab21 2 ปีที่แล้ว

      I like very much the way you explain the subject.
      All videos are great

  • @garylillich
    @garylillich 2 ปีที่แล้ว +1

    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?

  • @audiovideophile5317
    @audiovideophile5317 2 หลายเดือนก่อน +1

    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.

  • @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 ?

  • @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....

  • @eyitayoeyitayo-lawal2331
    @eyitayoeyitayo-lawal2331 3 ปีที่แล้ว

    Brilliant. You just cleared a cloud of confusion between combining and editing straight and transform data before the combine.

  • @kamranghayyur2401
    @kamranghayyur2401 2 ปีที่แล้ว

    Woow 👍

  • @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

  • @robbysandhu4425
    @robbysandhu4425 3 ปีที่แล้ว +1

    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.

  • @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?

  • @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?

  • @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

  • @mirrrvelll5164
    @mirrrvelll5164 4 ปีที่แล้ว +1

    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.

  • @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?

  • @deepaknagar5697
    @deepaknagar5697 4 ปีที่แล้ว

    Which version of excel you are using?

  • @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).

  • @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

  • @andreybudnikov5920
    @andreybudnikov5920 2 ปีที่แล้ว

    Tell me please. How to track changes in the source data?

  • @paparaoarigila3705
    @paparaoarigila3705 6 หลายเดือนก่อน

    Is it possible to change sheet names in existing power query files.

  • @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?

  • @AnkitJainCreations
    @AnkitJainCreations 3 หลายเดือนก่อน

    Will merging of file work through power queries if the first column of the 2nd file have duplicates?

    • @trumpexcel
      @trumpexcel  3 หลายเดือนก่อน +1

      Yes, it would still work. You can get rid of the duplicates once the files are combined

  • @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?

  • @miryasiralikhan2518
    @miryasiralikhan2518 2 ปีที่แล้ว

    How can i use this method for folder containing PDF files only including tables?

  • @chiragdabhi4929
    @chiragdabhi4929 2 ปีที่แล้ว

    I want combine excel as a verically.not upend,is this possible??

  • @arianebagabe
    @arianebagabe ปีที่แล้ว

    Hello. I don’t have the “Get Data” option under the “Data” tab. Please help.

  • @minadev1
    @minadev1 ปีที่แล้ว

    what do you mean by using LOCALE?

  • @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.

  • @gulfsecurities5075
    @gulfsecurities5075 ปีที่แล้ว

    what if we have sheets instead of tables?

  • @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

  • @praveenkumar.k3040
    @praveenkumar.k3040 10 หลายเดือนก่อน

    Hai I want to help
    How to split the 720x400x0.010

  • @manjunathdes6336
    @manjunathdes6336 ปีที่แล้ว

    Hi, can i merge 30 workbook holding 46 lakh row

  • @kediasc
    @kediasc 7 หลายเดือนก่อน

    If excel files have different columns then what to do

  • @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

  • @vedkumars
    @vedkumars 2 ปีที่แล้ว

    only Sheet type is showing , table type is not showing while clicking on table.

  • @matthewroman7490
    @matthewroman7490 ปีที่แล้ว

    Did anyone not have the edit option after choosing the folder

  • @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?

  • @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 :)

  • @njabulonzimande2893
    @njabulonzimande2893 2 หลายเดือนก่อน

    I can't emphasize the importance of this video!

  • @Alexis.Sanchez730
    @Alexis.Sanchez730 25 วันที่ผ่านมา

    ***imp

  • @podespault
    @podespault 2 ปีที่แล้ว

    This doesn't show how to merge multiple excel files with multiples tabs... it's so frustrating! Great tutorial nonetheless

  • @gamehub8068
    @gamehub8068 2 ปีที่แล้ว

    यदि सारी एक्सेल के फाइल का डाटा मिला क्या 20 लाख होगा कि तो भी हो जाएगा???

  • @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.