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

Поділитися
Вставка
  • Опубліковано 31 лип 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: ua-cam.com/users/trumpexc...
    #Excel #PowerQuery #ExcelTips

КОМЕНТАРІ • 99

  • @jaded.9915
    @jaded.9915 Рік тому +11

    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 5 місяців тому +1

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

  • @matthewthomas1279
    @matthewthomas1279 3 роки тому +5

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

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

  • @pandamoniumdev
    @pandamoniumdev 4 роки тому +2

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

  • @kinchannel3264
    @kinchannel3264 10 місяців тому +2

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

  • @mesunekonyan
    @mesunekonyan Рік тому

    your tutorials are always easy to follow! thank you!

  • @sujeelmahadev4592
    @sujeelmahadev4592 8 місяців тому

    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!

  • @dineshpandey5008
    @dineshpandey5008 Рік тому

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

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

  • @md.saifulislam159
    @md.saifulislam159 3 роки тому

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

  • @huguititi
    @huguititi 2 роки тому

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

  • @margad-erdeneboldbaatar4704
    @margad-erdeneboldbaatar4704 2 роки тому

    Thanks so much for another wonderful lesson.

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

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

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

  • @kc329191
    @kc329191 3 роки тому

    Excellent tutorial, Thank You!

  • @fabiananascimento8898
    @fabiananascimento8898 3 роки тому

    This video helps me a lot! Thank you!

  • @guillermogachuz2970
    @guillermogachuz2970 2 роки тому

    Gracias por compartir tus conocimientos.

  • @williamarthur4801
    @williamarthur4801 2 роки тому +1

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

  • @kebincui
    @kebincui 3 роки тому

    Very good tutorial, thank you

  • @nihalgoel636
    @nihalgoel636 3 роки тому

    Thanks sir highly grateful for your guidance

  • @Mesh-D
    @Mesh-D 6 місяців тому

    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 10 місяців тому +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  10 місяців тому

      Thanks for the kind words. Glad you liked it

  • @robertromero9303
    @robertromero9303 3 роки тому

    Easy Solution to a very annoying problem! Great video!

  • @davidsampson8668
    @davidsampson8668 Рік тому

    Very useful info, thank you

  • @alfredoluwatomi6899
    @alfredoluwatomi6899 Рік тому

    Nice explanation. Kudos

  • @TheJoshtheboss
    @TheJoshtheboss Рік тому

    Excellent job. Well done!!

  • @recepresitogullar6648
    @recepresitogullar6648 2 роки тому

    Great! Thank you! You saved my time.

  • @sintulaha8659
    @sintulaha8659 4 роки тому

    Excellent tutorial video

  • @stanruswa9108
    @stanruswa9108 Рік тому

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

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

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

  • @VietLe-ls1oj
    @VietLe-ls1oj 7 місяців тому

    You saved my life, thanks for the video.

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

  • @eddiel6608
    @eddiel6608 2 роки тому

    Very Well Done!!!!

  • @ymn76ymn
    @ymn76ymn Рік тому

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

  • @sanjeevmali3366
    @sanjeevmali3366 3 роки тому

    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  3 роки тому

      Thanks Sanjeev... Glad you found it useful :)

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

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

  • @davidkemboi5546
    @davidkemboi5546 Рік тому

    You are my saviour Papa. Keep it up.

  • @s1ngularityxd64
    @s1ngularityxd64 2 роки тому

    Thank you, on point

  • @thaeralkhawaja3518
    @thaeralkhawaja3518 Рік тому

    thank you after 2 days of searching this worked for me

  • @akashmon5065
    @akashmon5065 4 роки тому

    Thank you sir

  • @YogeshSharma-ui7xx
    @YogeshSharma-ui7xx 8 місяців тому

    Wonderfull

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

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

  • @EyiBillion
    @EyiBillion 3 роки тому

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

  • @excelemployeeleavetracker1274
    @excelemployeeleavetracker1274 3 роки тому

    Great Video!

    • @hassab21
      @hassab21 3 роки тому

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

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

  • @robbysandhu4425
    @robbysandhu4425 3 роки тому +1

    Will it load data if there is changes in headers?

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

  • @andreybudnikov5920
    @andreybudnikov5920 2 роки тому

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

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

  • @paparaoarigila3705
    @paparaoarigila3705 6 місяців тому

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

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

  • @deepaknagar5697
    @deepaknagar5697 4 роки тому

    Which version of excel you are using?

  • @zaraknadeem5972
    @zaraknadeem5972 7 місяців тому

    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?

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

  • @arindammajumder3095
    @arindammajumder3095 9 місяців тому

    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?

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

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

  • @miryasiralikhan2518
    @miryasiralikhan2518 2 роки тому

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

  • @kamranghayyur2401
    @kamranghayyur2401 2 роки тому

    Woow 👍

  • @arianebagabe
    @arianebagabe Рік тому

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

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

  • @chiragdabhi4929
    @chiragdabhi4929 2 роки тому

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

  • @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 11 місяців тому

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

  • @kediasc
    @kediasc 8 місяців тому

    If excel files have different columns then what to do

  • @gulfsecurities5075
    @gulfsecurities5075 Рік тому

    what if we have sheets instead of tables?

  • @manjunathdes6336
    @manjunathdes6336 Рік тому

    Hi, can i merge 30 workbook holding 46 lakh row

  • @skcp151
    @skcp151 2 роки тому

    when i add new files , shows key didnt match any rows in the table

  • @minadev1
    @minadev1 Рік тому

    what do you mean by using LOCALE?

  • @AnkitJainCreations
    @AnkitJainCreations 4 місяці тому

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

    • @trumpexcel
      @trumpexcel  4 місяці тому +1

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

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

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

  • @vedkumars
    @vedkumars 2 роки тому

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

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

  • @gamehub8068
    @gamehub8068 2 роки тому

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

  • @Alexis.Sanchez730
    @Alexis.Sanchez730 Місяць тому

    ***imp

  • @njabulonzimande2893
    @njabulonzimande2893 3 місяці тому

    I can't emphasize the importance of this video!

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