Get Multiple Files Containing Multiple Sheets with Power Query

Поделиться
HTML-код
  • Опубликовано: 19 июн 2024
  • How to import multiple files containing multiple sheets with Power Query, even if the data isn’t formatted in an Excel Table.
    🔻 DOWNLOAD the Excel file & see step by step written instructions here: www.myonlinetraininghub.com/i...
    🎓 LEARN MORE: view my comprehensive courses: www.myonlinetraininghub.com/
    🔔 SUBSCRIBE if you’d like more tips and tutorials like this.
    💬 Please leave me a COMMENT. I read them all!
    🧟‍♀️ CONNECT with Mynda on LinkedIn: / myndatreacy
    🎁 SHARE this video and spread the Excel love.
    Or if you’re short of time, please click the 👍
    💬 EXCEL QUESTIONS: Get help on our Excel Forum: www.myonlinetraininghub.com/e...
  • НаукаНаука

Комментарии • 656

  • @MyOnlineTrainingHub
    @MyOnlineTrainingHub  2 года назад +10

    FAQs Answered:
    1. Can you get workbooks with a different number of columns? Yes, however the columns will be appended in order from left to right. Therefore, if your columns are not all in the same order you'll end up with a mess!
    2. What happens if workbooks have different column headers? The worksheets will be appended in column order from left to right irrespective of the column names. As long as the columns contain the same data and are in the same order, then it doesn't matter what they're called.
    3. What happens if workbooks include a blank worksheet or worksheets you don't want to import? These worksheets will be included in the query however, you can add a filter in the query to exclude any sheets you don't want included in the final dataset.

    • @mikeheim44
      @mikeheim44 2 года назад +1

      Will it automatically update if you add more data files to the folder?

    • @garylillich
      @garylillich 2 года назад +1

      @@mikeheim44
      Hit refresh on the final table and it SHOULD update.

    • @mikeheim44
      @mikeheim44 2 года назад

      @@garylillich Thank you

    • @Mileisha_Lyann
      @Mileisha_Lyann 2 года назад

      How can I separate each text files ( or .asc) to separate columns? In my case they all have the same X axis values but different Y values . HELP please . I have 120 files, cannot do them one by one!

    • @kmhanley
      @kmhanley 2 года назад

      I have 12 workbook ( Jan to Dec) and each workbook have more than 1 sheet, I want to combine all "sheet-1" only into file, how? - its # 3, how to filter?

  • @mpactagj
    @mpactagj 3 года назад

    I watched a half dozen similar videos trying to figure this out, using VBA, etc. etc., but this was the most comprehensive and did not make non-real world assumptions like having pristine data or even well formulated data. Very helpful!

  • @akramrahamath1381
    @akramrahamath1381 4 года назад +8

    It came right at a time when I needed this tutorial the most, have a load of data to consolidate and it just got made simpler. Thanks Mynda:)

  • @w13ken
    @w13ken 3 года назад

    Hi Mynda, I just finished writing an Excel VBA program that did virtually the same thing but this is a much faster solution! I use Power Query in Power BI and I have no doubt that your Power BI videos are as exceptional as your Excel ones - for me the best on the web - so looking forward to reviewing those. Many thanks!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Thanks for your kind words, Ken! Great to hear you enjoy my videos :-)

  • @felipe4181
    @felipe4181 4 года назад +2

    Hi Mynda,
    Always your tutorial are easy, Simple and straight to the point!
    Thank you!

  • @JuanSalvadorEstradaE
    @JuanSalvadorEstradaE 4 года назад +2

    Outstanding !! Just what I needed !! Thanks a lot, they are very helpful, easy to follow and to the point !

  • @lianchingyap5023
    @lianchingyap5023 2 года назад

    The steps for combining all difference files are very clear and easy to follow, thanks a lot!

  • @williamthatsmyname
    @williamthatsmyname Год назад +2

    Absolutely mind blowing. Thanks for the tutorial. Keep up the good work.

  • @BoubacarDiallo-sp6tw
    @BoubacarDiallo-sp6tw 4 года назад +2

    I wanna give you a shout out from Richard Toll, Senegal. Your tutorials are really taking my excel skills to the next level. Thank you!

  • @RaviShankar-hu2ft
    @RaviShankar-hu2ft Год назад

    Finally I got the consolidation to work right! The vidoe is very helpful with clear instructions. Thanks Mynda!

  • @douglasbrito2921
    @douglasbrito2921 2 года назад

    Hi Mynda, thanks very much for this. I was struggling to achieve this at Power BI, now I'm using your explanation. Cheers

  • @vityavertu526
    @vityavertu526 3 года назад

    amazing tutorial, just 8 mins and you got a solid knowledge of powerquery basics. Good job!

  • @frederickzoreta6617
    @frederickzoreta6617 3 года назад

    Another SUPER EXCELLENT Tutorial! Thanks a LOT for your sharing your expertise! This helped me in 1 of my academic projects that I'm finishing right now :).

  • @Hjmatthebench
    @Hjmatthebench 2 месяца назад

    Thank you so much Mynda for sharing your talents. You helped me to do exactly what i was trying to for a while.

  • @marvinjoyceburgstededijk9749
    @marvinjoyceburgstededijk9749 4 года назад

    Wonderfull video and exactly what I needed to summarise my data from a folder location. Thanks allot and cheers, from Amsterdam!

  • @user-tf1vy2bv5t
    @user-tf1vy2bv5t Год назад +2

    The tutorial is clear, informative and super helpful.

  • @vikramgupta3827
    @vikramgupta3827 3 года назад

    Your explanations are very clear and informs small actions that are required

  • @ExcelWithChris
    @ExcelWithChris 3 года назад

    Thanks a million. As a new user of PQ these basic but very important methods are of great use and value. Thanks.

  • @etbarker9
    @etbarker9 3 года назад

    I was struggling for a while with a file a colleague sent that had data across multiple sheets. I used power query to transform and combine that data into a single, unified table, but couldn’t figure out how to attach the name of the sheets along with the data. Searched online, and couldn’t immediately find the answer. I thought I was okay at power query, but I was still at a loss. Thank you thank you for posting this! Saved me a TON of manual work!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Hi Eric, You can use Get Data > From File > From Folder to connect to the file. This will give you a list of the sheets in each file. Note: you cannot use this on the file containing the query i.e. it cannot reference itself. It can only reference a file that is closed.

  • @TheSaint7770
    @TheSaint7770 3 года назад

    A gem of a channel!! ... Thank You!

  • @YazminAbat
    @YazminAbat 2 года назад

    thanks a lot !!! your videos summarize whole courses

  • @deninsrmic4165
    @deninsrmic4165 4 года назад

    Great tutorial Mynda, very well explained especialy with the use of =#date([Funtion]). Thanks.

  • @awakim
    @awakim 4 месяца назад

    As always, found this page to post the most useful and effective videos. Thank you very much for this post.

  • @myesmuratova8640
    @myesmuratova8640 3 года назад

    Mynda, you are super star, thank you for sharing us free tutorials.

  • @davida.taylor8444
    @davida.taylor8444 2 года назад

    Thank you for this. This came in super-handy this week!

  • @hari60700
    @hari60700 2 года назад

    What an amazing video .Really a game changer. Thank you Mynda.💯

  • @georgetosounidis5545
    @georgetosounidis5545 4 года назад +1

    Thanks a lot, really helpful. PQ is an amazing tool.

  • @TheOndricek
    @TheOndricek 4 года назад

    Thanks - big help. Especially the #Date formula. I've been looking for that functionality for a while!

  • @EricaDyson
    @EricaDyson 4 года назад

    Great. Thanks. So clear and concise!

  • @johnborg6005
    @johnborg6005 4 года назад

    Thanks Myndy. That was great fun. Loved it!!!!

  • @kc329191
    @kc329191 3 года назад

    Thank you, you explained this very well. I will review again as a guide to combine multiple excels.

  • @vasylsalyk165
    @vasylsalyk165 2 года назад

    It is brilliant! Thank you for solving the problems!

  • @clivepetty2338
    @clivepetty2338 4 года назад

    Thanks for this video very help as I have often combine multiply data sets - appreciated

  • @yasserbinsalamah9897
    @yasserbinsalamah9897 Год назад

    I have seen tens of videos about this topic, and this is the best. Thanks.

  • @-Tharos-
    @-Tharos- Год назад

    Thanks, this is pure gold!

  • @MohamadAlmalla
    @MohamadAlmalla 2 года назад

    Well explained tutorial. Found it very useful. Cannot thank you enough!

  • @onnseanbeats1012
    @onnseanbeats1012 3 года назад +4

    Exactly what I was looking for! Very well done and easy to follow.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Glad you liked it!

    • @evelic
      @evelic 10 месяцев назад

      @@MyOnlineTrainingHub Ony one question. Can this work if the column headers are not the same and not in the same order? Since this is not an append, Im getting a mismatch of columns with this method, since one of my files has one sheet with one less column.

  • @Maximus18.6
    @Maximus18.6 2 года назад

    Thanks so much for sharing your knowledge on excel.

  • @777kiya
    @777kiya 2 года назад

    Thank you, it's helpful. I've not used Power Query before, but I think when the need to do comes, I'll be ready.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 года назад

      Great to hear! You might also like this introduction to Power Query video: ruclips.net/video/L4BuUzccLpo/видео.html

  • @atta101md
    @atta101md 3 года назад

    You are a life saver.. Thank you so much!!!

  • @GeraBizuneh
    @GeraBizuneh 4 года назад

    Super helpful as always ! Thank you !

  • @Mahmoud-mf8hn
    @Mahmoud-mf8hn Год назад

    Just awesome.
    You saved my life once again!

  • @brandyliang2847
    @brandyliang2847 4 года назад

    It’s really helpful! thanks so much.

  • @emmetzzisco9377
    @emmetzzisco9377 3 года назад

    Thank you ma'am,,this will be my first lesson on my journey especially in an EXCEL..😍😍

  • @mahmoodahmadghaznavi2326
    @mahmoodahmadghaznavi2326 4 года назад +1

    Lovely person.... Great teacher.

  • @ianstaines1674
    @ianstaines1674 2 года назад

    Your simple explanation of how to design a Custom Column to load unstructured data from files in a folder led me to this solution.
    I needed to aggregate multiple files in a folder. I have used Get Data "From Folder" for other file types such as XML before but it does not handle HTML data.
    Using your suggestion I was able to select the "Name" and "Folder Path" columns from the source data and then create a Custom Column that referenced each file in the folder as an html document.
    LoadAsHTML=Web.Page(Web.Contents("file:///"&[Folder Path]&[Name]))
    This allowed me to consolidate data from the multiple files in HTML format.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 года назад

      Great to hear, Ian! Thanks for sharing. It's a clever workaround.

  • @wildbill4680
    @wildbill4680 Год назад

    Excellent demo. Thank you

  • @loay1166
    @loay1166 2 года назад

    Brilliant! thank you very much.

  • @eyitayoeyitayo-lawal2331
    @eyitayoeyitayo-lawal2331 3 года назад

    Brilliant! Thank you for this.

  • @kendrewt
    @kendrewt 3 года назад

    Very practical, thank you!

  • @jasfradique
    @jasfradique 4 года назад +10

    You make this look so s-i-m-p-l-e! Amazing, just amazing! I know for sure this is going to help me a lot, in future tasks. Thank you very much for sharing it with all of us ;-)

  • @marvinalavi7620
    @marvinalavi7620 2 года назад

    Thank you so much, that was so helpful

  • @williamarthur4801
    @williamarthur4801 2 года назад +1

    Thank you, and thank you so much for taking the time to reply.

  • @bravucod
    @bravucod 4 года назад

    Thanks for the content you are amazing!. Please keep making more Power Query and Dax Content

  • @anv.4614
    @anv.4614 9 месяцев назад

    Thank you Mynda. very useful. Wonderful.

  • @user-tm1eq8rz5s
    @user-tm1eq8rz5s Год назад

    Very well presented. Thank you

  • @juliamartinez6021
    @juliamartinez6021 4 года назад

    informative and short, thank you!

  • @lww8132
    @lww8132 4 года назад

    This is fantastic! Thank you!

  • @kaiseikokoro
    @kaiseikokoro 3 года назад

    I love all your videos, its so useful. thank you so much. it save hours of my time. really appreciated it.

  • @vinayakchapre21
    @vinayakchapre21 Год назад

    This thing which i needed at this time. Thank you

  • @marktheirl1842
    @marktheirl1842 3 года назад +1

    Okay, that was way cool!!! You are AMAZING!!!

  • @chuckymystic
    @chuckymystic 9 месяцев назад

    This process order worked much easier for me, thanks.

  • @hhbadarin
    @hhbadarin Год назад

    Super helpful, Thank you!

  • @rade351980
    @rade351980 3 года назад

    great lesson. Thank you!

  • @thomasodonnell7211
    @thomasodonnell7211 4 месяца назад

    Great video. Thank you!

  • @777Danila
    @777Danila 4 года назад +2

    Ohh where you was before- I LOVE YOU. TANKS. I run to try!!!

  • @genechicago4806
    @genechicago4806 3 года назад

    I was experimenting with power query without fully understanding what I was doing and had a similar file where the date was part of the file name. To extract the date I split the file name with the delimiter option. Afterwards, instead of using the date function(since I wasn't aware of it) I replaced 1 with Jan, 2 with Feb, 3 with Mar etc. and left the year in a separate column. That was enough to get what I needed, but the Date function seems like a better way to do it. Thank you for sharing this video!

  • @teresaxavier5532
    @teresaxavier5532 Год назад

    Thanks a lot, you saved my time

  • @manhtuannguyen7375
    @manhtuannguyen7375 Год назад

    It really solved my problem. Thanks a lot!

  • @winnieip9851
    @winnieip9851 2 года назад

    yes, this is exactly what I need to know for merging a number of files with worksheets. thanks

  • @kennethpaige7036
    @kennethpaige7036 2 года назад

    Thank you ... I had a problem yesterday that completed the hard way ... but the next time I will be ready!

  • @Justme-bf1vf
    @Justme-bf1vf 3 года назад

    thanks a lot for the great job. we appreciate a lot your courses and i am one of your fidel followers

  • @evalang4435
    @evalang4435 Год назад

    Super helpful, thank you☺

  • @wayneedmondson1065
    @wayneedmondson1065 2 года назад

    Hi Mynda. Thanks for this fun Power Query transformation example. I always learn something new from you :)) Thumbs up!!

  • @bintiwambezi
    @bintiwambezi 2 года назад

    thank you soo much!! this will save me and my manager several hours of work

  • @mehditamzini6031
    @mehditamzini6031 4 года назад +1

    you're awesome. thank you very much

  • @Gulzar114
    @Gulzar114 4 года назад

    I really like this, very great teacher you are...

  • @rayman991
    @rayman991 Год назад

    thank you. you helped a lot

  • @akileshsharma2523
    @akileshsharma2523 4 года назад

    Amazing, Thanks a lot from India.

  • @sabermmirza
    @sabermmirza 4 года назад

    Good job and thanks for sharing your great teacher

  • @zuhairalmutawa9941
    @zuhairalmutawa9941 2 года назад

    Wow that is Amazing. Thank you for that.

  • @krishj8011
    @krishj8011 2 года назад

    Great Tutorial...Thanks..

  • @iankr
    @iankr 2 года назад

    Many thanks, Mynda.

  • @fatmaahmed750
    @fatmaahmed750 Год назад

    thank you so much, this video got me out of a really sticky situation :)

  • @janbertarana593
    @janbertarana593 Год назад

    Thank you so much for your content :)

  • @MostafaElkordy
    @MostafaElkordy 2 года назад

    Perfect, Thanks a lot 💖

  • @giseletessari623
    @giseletessari623 3 года назад

    Thank you ! It is a nice video.

  • @zehwaskow89
    @zehwaskow89 11 месяцев назад

    Awesome! You solved my problem in 8 minutes 😍

  • @juliusbiliran
    @juliusbiliran 3 года назад

    Thanks!! Awesome video!

  • @harshababu8321
    @harshababu8321 3 года назад

    Superb ! Thank you

  • @Zvertnie
    @Zvertnie 4 года назад

    Love it, thanks!

  • @omprakashojha9698
    @omprakashojha9698 3 года назад

    Thank you! Very well explained. Could you please make a video on different syntaxes that are used in power query? Will appreciate that.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад +1

      Glad you found this video helpful. Thanks for your topic suggestion.

  • @irenenamutebi9915
    @irenenamutebi9915 3 года назад

    This is great. Thank you

  • @Ugk871
    @Ugk871 Год назад

    Hi Mynda. Your method is different from the way I did when I merge all files in folder (I use sample data merging). But your method seems to be optimised . I bet it is much faster to run the query compared to using sample files. I will try it. Thanks a lot!

  • @diegolozano2397
    @diegolozano2397 Год назад

    THANKS AS ALWAYS

  • @efcanalytics8358
    @efcanalytics8358 3 года назад

    Great video thank you!

  • @makisalimhussain2334
    @makisalimhussain2334 4 года назад

    Awesome. Thank you Mynda

  • @deacthedoc
    @deacthedoc Год назад

    Thank you!

  • @rashiedhamadi1114
    @rashiedhamadi1114 7 месяцев назад

    you are really great ,thank you

  • @behzadghah
    @behzadghah Год назад

    Amazing explanation 👏