Auto-Import Data from Email Attachments to Excel using Power Query

Ғылым және технология

Check out our newly launched M Language course ↗️ - goodly.co.in/learn-m-powerquery/
Are you tired of manually importing Excel data from email attachments every month? In this video tutorial, I will show you how to set up an automation using Power Query to automatically import Excel data from email attachments and merge them into a single Excel file.
This time-saving solution will allow you to effortlessly extract the data from the email attachment and use it for further data analysis. Watch the video to learn the step-by-step process and start saving time today!
#ExcelDataImport #EmailAttachments #automation #powerquery
===== ONLINE COURSES =====
✔️ Mastering DAX in Power BI -
goodly.co.in/learn-dax-powerbi/
✔️ Power Query Course-
goodly.co.in/learn-power-query/
✔️ Master Excel Step by Step-
goodly.co.in/learn-excel/
✔️ Business Intelligence Dashboards-
goodly.co.in/learn-excel-dash...
===== LINKS 🔗 =====
Blog 📰 - www.goodly.co.in/blog/
Corporate Training 👨‍🏫 - www.goodly.co.in/training/
Need my help on a Project 💻- www.goodly.co.in/consulting/
Download File ⬇️ - goodly.co.in/how-to-import-ex...
===== CONTACT 🌐 =====
Twitter - / chandeep2786
LinkedIn - / chandeepchhabra
Email - goodly.wordpress@gmail.com
===== WHO AM I? =====
A lot of people think that my name is Goodly, it's NOT ;)
My name is Chandeep. Goodly is my full-time venture where I share what I learn about Excel and Power BI.
Please browse around, you'd find a ton of interesting videos that I have created :) Cheers!

Пікірлер: 175

  • @ourlittlesmarties1188
    @ourlittlesmarties118811 ай бұрын

    This is very useful! Thank you so much for sharing it. Love watching your videos and your explanation is perfect!

  • @cjimmer4877
    @cjimmer487711 ай бұрын

    Amazing! Thank you for posting. I can't wait to try this out on PDFs

  • @DeepakKashyap-fr3ek
    @DeepakKashyap-fr3ek5 ай бұрын

    Seriously, it is insane. .. Thank you Chandeep.

  • @jibinvinod4337
    @jibinvinod433710 ай бұрын

    You have no idea, how usefull this information to me. you are a gem!

  • @MGA19a
    @MGA19a2 ай бұрын

    This is like a mini-course on this topic - great stuff - thank you for posting this content !

  • @emilmubarakshin49
    @emilmubarakshin4911 ай бұрын

    Absolutely awesome! Thank you!

  • @kiliev2007
    @kiliev200711 ай бұрын

    Your channel is one of the most underrated in the sphere.

  • @keagankemp6275
    @keagankemp627511 ай бұрын

    Aah this is beautiful, I had to use a flow but now I can do it in these easy steps thanks a mil

  • @tersit89
    @tersit894 ай бұрын

    Perfect solution and very easy method, thanks a lot!

  • @DMatWork
    @DMatWork9 ай бұрын

    Very useful, thanks for the guide!

  • @IvanCortinas_ES
    @IvanCortinas_ES10 ай бұрын

    Absolutely handy, Sir. Thank you very much for the impressive video.

  • @ocismorkayo4659
    @ocismorkayo465910 ай бұрын

    Technical A-ha moment. Simple, quick, awesome. Many thanks Chandeep. A huge thumb up😊

  • @nonoobott8602
    @nonoobott860211 ай бұрын

    This is very apt. I sure need this and you are so explicit. Thanks so much for sharing

  • @Archie167
    @Archie16710 ай бұрын

    This was an awesome info, thanks for sharing!!

  • @ca.cs.subachandranmurugesa2560
    @ca.cs.subachandranmurugesa256011 ай бұрын

    Wow.. this opens up whole new opportunities

  • @rangs1966
    @rangs196611 ай бұрын

    Superb. Your teaching style is excellent .

  • @paspuggie48
    @paspuggie4811 ай бұрын

    I have used this solution before and my clients love it. Well done Chandeep for making a video about it 😊

  • @alexrosen8762
    @alexrosen876211 ай бұрын

    Very very useful. Thank you for yet another informative tutorial 🙌

  • @unnikrishnansanthosh
    @unnikrishnansanthosh11 ай бұрын

    super cool time saver, thank you for sharing

  • @rohitwaradpande2492
    @rohitwaradpande249211 ай бұрын

    Indeed very useful trick! Thanks for sharing

  • @ursvenky6394
    @ursvenky63946 ай бұрын

    I have been following you for power query solutions. Excellent solutions you provided. We are very that your on youtube to provide solutions or else i couldn't get solutions. I implemented things in powerquery which you suggested on KZread and i got good appreciation in my org. It belongs to you as well. Thank you

  • @kumarvg5383
    @kumarvg538311 ай бұрын

    Thanks for this Video... I've already started to used it for my work 😊

  • @madhumatikoli1503
    @madhumatikoli1503Ай бұрын

    Thank you...this is useful and to the point

  • @TheSuvankarKundu
    @TheSuvankarKundu17 күн бұрын

    This was so awesome.

  • @muneerrahiman9846
    @muneerrahiman984611 ай бұрын

    Omg...this is suuper cool....thanks chandeep for such a great tip

  • @arunkumarkesavan6077
    @arunkumarkesavan607711 ай бұрын

    Harray Bro!!! Its really awesome. I recently tried using the same thing using Alteryx and Outlook macro and finally load the data into PowerBI. Now its super easy and skip the intermediate steps. As usual again its clear and useful !!! Waiting to see your subscriber to reach million !!!

  • @raghavshanbhag9308
    @raghavshanbhag93083 ай бұрын

    great skill thank you

  • @sunnygala7972
    @sunnygala797211 ай бұрын

    Thanks Chandeep!

  • @TheRathnakara
    @TheRathnakara2 ай бұрын

    Great Stuff.

  • @VIJAY-pd4jt
    @VIJAY-pd4jt11 ай бұрын

    Excellent video.🎉

  • @phoolkhan87
    @phoolkhan8711 ай бұрын

    Looking this kind of trick from last 11 months. Receiving more than 100 branches excel file having locked format and placing the same in my folder one by one and so on and so on... You can't imagine that what kind of relaxing I'm thinking. Goodly u r really 💕.

  • @ajkrishna001
    @ajkrishna00111 ай бұрын

    Very useful... Great info

  • @prajapatirp
    @prajapatirp11 ай бұрын

    This is insane Chandeep...

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi11 ай бұрын

    Wow Great Video as usual keep uploading more such Videos.. ❤

  • @johnmanuelraj7555
    @johnmanuelraj75556 ай бұрын

    Very impressive

  • @navinsiriwardena6635
    @navinsiriwardena6635Ай бұрын

    Thank you :)

  • @Rice0987
    @Rice098711 ай бұрын

    I saw kind manipulations with emails at Leila, but i didnt dig into this topic (i didnt see, what can i do with that). But now i know, where i'll try your precious technique, cause before this moment i would have to save that files, prepare them with vba and after update with pq and finally get the data i need.😌 I hope i'll be able to apply this lesson tomorrow at work. Great thanks, boss!🤗

  • @sasda1234s
    @sasda1234s11 ай бұрын

    Amazing, i will try this

  • @Ratnakumarwrites
    @Ratnakumarwrites11 ай бұрын

    Wow... A great video and explanation aa always Chandeep...

  • @shubhamaggarwal6746
    @shubhamaggarwal674611 ай бұрын

    This one is really powerful & time preserving idea. Thanks for sharing 🙌❤

  • @GoodlyChandeep

    @GoodlyChandeep

    11 ай бұрын

    Thanks Subham :)

  • @flyingHubby
    @flyingHubby11 ай бұрын

    Thanks. So very nice video again. Of course I would need to make sure that the e-mails are kept in Exchange ... But since I cannot use Automate and Excel because I don#t have a business account, it is a nice workaround.

  • @BertandRussell
    @BertandRussell11 ай бұрын

    Incredible!!!

  • @josealvesferreira1683
    @josealvesferreira16839 ай бұрын

    very good, thanks.

  • @NotBen101
    @NotBen10111 ай бұрын

    This should be required viewing for everyone interning rn. I see that there are tables for calendar invites. When I do audit work, I need to keep track of who I spoke to and when I spoke to them. This feature looks like it will help me keep track of this.

  • @SantoshBudakoti
    @SantoshBudakoti11 ай бұрын

    This is very informative and time saving... I have do this with Power BI

  • @GoodlyChandeep

    @GoodlyChandeep

    11 ай бұрын

    Glad it was helpful Santosh :)

  • @HemanthKumar-lb4xt
    @HemanthKumar-lb4xt11 ай бұрын

    Awesome... Good learning from as always

  • @GoodlyChandeep

    @GoodlyChandeep

    11 ай бұрын

    Thank you Hemanth!

  • @yoginathbadadale
    @yoginathbadadale11 ай бұрын

    This is awsome

  • @syednayyar
    @syednayyarАй бұрын

    Super Dooper amazing 80% of the times its the case ..!! its kinda Free Alteryx workings lolz

  • @MyAvn
    @MyAvnАй бұрын

    Thanks

  • @dilipinamdarpatil6301
    @dilipinamdarpatil630111 ай бұрын

    This is amezing,🙏🏼

  • @josecarlosconejo5724
    @josecarlosconejo572411 ай бұрын

    Really impressive!! I do have these cases at work and I keep on taking the time to save the files in one folder to which I connect Power Query. You got a new subscriber 😊

  • @GoodlyChandeep

    @GoodlyChandeep

    11 ай бұрын

    Excellent! :)

  • @patrickkinbonso1809

    @patrickkinbonso1809

    4 ай бұрын

    ​@@GoodlyChandeepbig fan. Quick question please. Does it mean then I can't delete that email from my mailbox or I risk PQ not extracting those emails anymore? Also would this make me a single point of failure as my colleagues have no access to my email? Finally, what happens if some attachments are of an excel doc as attachments and some CSV, do I need multiple queries to do the same extraction?

  • @vashisht1
    @vashisht111 ай бұрын

    It buy me some time to watch goodly videos on youtube😂...keep up the good work veera..

  • @Lalithchary
    @Lalithchary4 ай бұрын

    Thank you for the tutorial, it is amazing, how can we do on PDF's and CSV's ?

  • @natsarev
    @natsarev11 ай бұрын

    That's cool! I have a daily parsing reports and I used to use macro that copied all of the attachements to a certain folder to wich PQ was connected. That didn't take a lot of time in my case but direct connection is definetly better :)

  • @sass520

    @sass520

    11 ай бұрын

    Wht do you mean by " Direct Connection"? Did he use Direct Query here ? I didn't understand the type of connection used

  • @natsarev

    @natsarev

    11 ай бұрын

    @@sass520 I mean connection to inbox directly from PQ without having to save attachements to a folder first. It's not direct query.

  • @dmclean3324
    @dmclean332411 ай бұрын

    outstanding

  • @jorstube
    @jorstube11 ай бұрын

    Maravilloso

  • @MarkvanValkenburg
    @MarkvanValkenburg3 ай бұрын

    Excellent tutorial Chandeep. Cutting out the unreliable Outlook rules is a great step forward. Can you set this up for inbox sub folders?

  • @juanpaolo21yt
    @juanpaolo21yt11 ай бұрын

    I did this technique using Vba. So when I saw this, I WATCHED THE WHOLE VIDEO!! This is faster N flexible. Thank you mr handsome.

  • @juanpaolo21yt

    @juanpaolo21yt

    11 ай бұрын

    The only concern I have is, what if someone emailed me at 11am, and then sent an email again at 2pm with corrections. How does pquery treat it? Will that be treated as duplicates which means will mKe the table bigger?

  • @WWIESE1000
    @WWIESE10006 ай бұрын

    Another great solution provided by you! I really enjoy watching your videos, which are really helping me finding the way thru Power Query. Is this a possible way to import XML files as e-mail attachments?

  • @MattiasGregersen
    @MattiasGregersen11 ай бұрын

    Using PowerAutomate to handle this scenario for a shared mailbox today. If possible, could we skip that and use PQ directly? If so, I think that'd be a great next video. Thanks!

  • @SparkVox
    @SparkVox5 ай бұрын

    Great work brother, what should we do in case of multiple attachments

  • @tezbriz
    @tezbriz6 ай бұрын

    Brilliant video, just what I was looking for. I have everything working fine. I used power query to clear the data down to just 3 columns and is updated regularly. How would I add a column that shows when the record on each row was last updated. ? When I start drilling down through the attachments I can see a date and time column of when the email arrived but haven’t been able to include it in the final query data I load.

  • @ramruttunaubeeluck9235
    @ramruttunaubeeluck923511 ай бұрын

    Awesome

  • @gauthamk1485
    @gauthamk148510 ай бұрын

    Awesome Bro! This is very useful... how to get the data if it is moved to particular folder in Outlook?

  • @dc345601
    @dc34560110 ай бұрын

    Thank you very much for this video! Extremely helpful. The documents that I’m trying to access are PDF and Docx. The documents unfortunately need to be reviewed and an over status assigned. How would you recommend going about this? Thanks again!

  • @jithuraphael1993
    @jithuraphael199311 ай бұрын

    Thank u for an informative video. And one request instead of appending the data can u also give a solution how to save the data into different sheets in excel.

  • @dbwkg6885
    @dbwkg688511 ай бұрын

    Awesome, as always, very useful....but now, a new challenge what about Teams and files embedded ? How could we process this kind of issue? Thank you so much Chandeep

  • @roywilson9580
    @roywilson958011 ай бұрын

    Thanks for another interesting and informative video! I can that this could be a good tool to have in your arsenal but think I would prefer to save the attachments to a directory that way there is less chance of losing the data if an email is deleted or archived and the query will continue to work if the responsibilty for tracking these data is passed on to someone else within the organisation. Of course if you want to make yourself indespensible ensuring the query is reading from your and only your inbox would be a good way to ensure continued employment and leave the client screwed if he decides to replace you with a minimum wage kid LOL!

  • @evangelicana5083
    @evangelicana5083Ай бұрын

    this is very useful to me. but I need to watch it over and over again to remember the process..😂

  • @Ody2004
    @Ody200411 ай бұрын

    Great video! I was just using Power Automate to load email attachment to Power Query last week. Btw any chance to load a table from email body to Power Query?

  • @evetteprout9814
    @evetteprout98145 ай бұрын

    Thank you very much, is it possible to also do the same and pull in the content from Outlook File Types (email attachments), instead of .xlsx files?

  • @ahmed007Jaber
    @ahmed007Jaber7 ай бұрын

    excellent work, mate. wonder if there is a way to have a link for attachments so that I can scrape them and archive them. I have a use case to download 100+ files from emails

  • @user-ek2rk4tv5i
    @user-ek2rk4tv5i4 ай бұрын

    Great tip. Thank you so much But last step is not working for me, I am getting external table not in the expected format error, all my files are csv though, does this work for csv files ?

  • @TheJaime10000
    @TheJaime1000011 ай бұрын

    This video is so informative! Can you explain how I could apply this to pdf files?

  • @warrenanderson6014
    @warrenanderson601411 ай бұрын

    This is great...does it work for emails sent to Gmail??

  • @MissMicrosoft
    @MissMicrosoft11 ай бұрын

    Chandeep you’re a Power Query rockstar 🤩

  • @GoodlyChandeep

    @GoodlyChandeep

    11 ай бұрын

    I am cursed with bad data and defend myself using Power Query😂 Thank you @MissMicrosoft :)

  • @MissMicrosoft

    @MissMicrosoft

    11 ай бұрын

    Thank God for bad data! 💪

  • @prashantsuthar7
    @prashantsuthar711 ай бұрын

    Thanks 👍. It works with my organization 365 office email ?

  • @saneeshkrishna3818
    @saneeshkrishna381811 ай бұрын

    You are amazing brooooo I want to become expert in power query. What should I do??

  • @SAIKISH2005
    @SAIKISH200511 ай бұрын

    Fantastic ji. How about if the same pattern of pdf files received in emails from specific person like bank statements? Can we do the same steps?

  • @aman_mashetty5185
    @aman_mashetty518511 ай бұрын

    Awesome trick!! What if a person sent revised file example mar month he sent twice then both file will fetch then how to remove the old and consider into account the new one any idea how to tackle it

  • @michaeldolan7507
    @michaeldolan750711 ай бұрын

    When you do the Table.TransformColumns what do you put for for PDF's?

  • @georgekipan9246
    @georgekipan924611 ай бұрын

    Thanks..Very interesting.How do I import a pdf and MS word from outlook?

  • @excel-jodallah
    @excel-jodallah11 ай бұрын

    Very very useful , Does this work with an email on the Hotmail server

  • @adin6429
    @adin642911 ай бұрын

    That's amazing. I wonder what if I want to update the source of the query with new attachment received from Outlook rather than combining them together. For example, instead of combining Jan and Feb .xlsx, I want to update feb.xlsx in place of Jan.xlsx.

  • @pandeyshivam1

    @pandeyshivam1

    11 ай бұрын

    In the DatetimeReceived column, just filter "is latest". All the best!

  • @christinelowery2415
    @christinelowery24156 ай бұрын

    Hoping for the same thing but for csv file attachment

  • @tezbriz
    @tezbrizАй бұрын

    Can you use Power Bi to do this too? I have to have outlook and excel open for this to work. I have it as part of a power automate flow. Is there a way to do it all in the background?

  • @mirrrvelll5164
    @mirrrvelll516411 ай бұрын

    Great! Can it be applicable if I am receiving .zip file (with .csv inside) and then to extract it?

  • @dolphinloh7018
    @dolphinloh701810 ай бұрын

    Good day Goodly, can it be done for email tables info other than attachments?

  • @Chris-tj4es
    @Chris-tj4es6 ай бұрын

    does it only work with Outlook? is it possible to import files from a Thunderbird email address?

  • @narendravishwakarma4646
    @narendravishwakarma464611 ай бұрын

    Is this same step. I can follow for archived/offline outlook file!! If not can you guide me to do the same with archived *.pst file

  • @ananthalakshmiragi4446
    @ananthalakshmiragi44465 ай бұрын

    Can we refresh it automatically instead of us refreshing the file? Also I would like it if I can send out the consolidated data as a chart or as is via mail again.. please let me know if there is any other video covering this.

  • @AnshulMarele-gbaa
    @AnshulMarele-gbaa6 ай бұрын

    Can it also connect a hotmail ID?

  • @nomanmushtaq7384
    @nomanmushtaq73849 ай бұрын

    Useful Tip. I receive monthly data in 3 to 4 batches every month. Is there any way to create a separate sheet for each month using power query without following all steps every month?

  • @clementowusu2722
    @clementowusu27226 ай бұрын

    Is there anyway I can use this step but make the new data replace the old one instead of combining the data please

  • @J1N-7
    @J1N-79 ай бұрын

    Hi, what's alternative for CSV? The table.tranformcolums for each excel.workbook produces error column instead of excel, any help would be appreciated! I'm working with CSV rather than xlsx.

  • @sasda1234s
    @sasda1234s11 ай бұрын

    Is there any way we pick data from email body also?

  • @ashivns
    @ashivns3 ай бұрын

    Can I login to a website and then navigate into same website to import data as table in power query

  • @ExcelAZ
    @ExcelAZ11 ай бұрын

    💥

  • @ashok-bejawada
    @ashok-bejawada4 ай бұрын

    Excellent job. Never find this type of solutions.If I want use same solution for Excel 365 also. But it's unable to run the power quary in office 365. Can u provide any alternative solution.

  • @yoginathbadadale
    @yoginathbadadale11 ай бұрын

    Can we map shared mailbox if yes any additional steps need to take please advise 🙏

Келесі