How To Easily Merge Tables With Power Query: Vlookup Alternative

Поділитися
Вставка
  • Опубліковано 2 лип 2024
  • Sign up for our Excel webinar, times added weekly: www.excelcampus.com/blueprint...
    This video teaches you how to merge two tables or queries in Power Query to look up data and return matching results. The tables do not have to be formatted the same way. They just need to share one or more data categories. This is similar to Vlookup or Join where a relationship is created between two tables.
    The Merge feature of Power Query works the same in both Excel and Power BI.
    You can download the sample Excel file on the accompanying blog post: www.excelcampus.com/powerquer...
    Related Videos:
    How to Combine Excel Tables or Worksheets with Power Query: • How To Combine Excel T...
    Power Query Overview - Automate Data Tasks in Excel & Power BI: • How To Automate Data T...
    How to Install Power Query in Excel 2010 or 2013 for Windows: • How To Install Power Q...
    VLOOKUP Tutorial: Everything you need to know: • Excel Vlookup Tutorial...
    Webinar: Free Excel Training on The Modern Power Tools
    Want to learn more about Power Query, Power Pivot, Power BI, pivot tables, and macros & VBA. Checkout my free webinar where I explain how these tools can fit into your workflow to save you a ton of time with your job and help you become the Excel Hero of your organization. Click the link below to reserve your spot. It's free!
    excelcampus.easywebinar.live/...
    #MsExcel #ExcelCampus
    00:00 Introduction
    02:21 Merge with VLOOKUP
    05:12 Fix Blank Rows

КОМЕНТАРІ • 152

  • @peteglews6601
    @peteglews6601 25 днів тому

    Very late to the party here but this was really helpful... Thank you 😀

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

    Hi Jon.. thanks for this quick tutorial on Merging Queries to mimic VLOOKUP. Always learn something new at your channel and at your web site. Also, really appreciate that you give access to the sample data to allow for following along with the video. Thumbs up!!

  • @ukaszlachmider5961
    @ukaszlachmider5961 2 роки тому +2

    Thank you Jon! You've explained the merging in a very comprehensive way. I will definitely visit your channel often!

  • @eyc128
    @eyc128 4 роки тому +14

    It used to be half day or more for me to do the merging. Now, I can do it in less than 5 mins. Thank you Jon !

  • @melissajacobs7223
    @melissajacobs7223 3 роки тому +4

    Where has this channel been all my life?? Thanks Jon!

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

    you are absolutely the best to learn from. the clarity and the way you train is just GREAT

  • @crbohannon
    @crbohannon 3 роки тому +9

    Thank you!! I was going crazy trying to figure out an index match function and this was soooo much easier than that!

  • @collontomlyn6567
    @collontomlyn6567 3 роки тому +2

    I've been doing VLOOKUP for days and this just answered my question of "why doesn't the machine do the work for me?" Thank you, Jon!

  • @shrs.3448
    @shrs.3448 2 роки тому +1

    FINALLY, I found your video that solves my issue.
    Thank you, thank you and thank you.
    I self-learned just enough to use Access to combine several data tables but then realized I can't use it online nor in the MacBook.
    So, I need to switch back to Excel and Excel has improved to 'Power Query' stuff in which I am not familiar with at all.
    But you have saved my day.

  • @abelnyamori
    @abelnyamori 3 роки тому +4

    Everytime I watch this guy he saves me time! Even when I'm not expecting it

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

    Thank you Jon.I have a number of Sheets limited to 32 columns each so I may use a Form to enter data in each sheet and then I am combining them in one sheet of 255 columns or less for a mail merge, so this is just what I needed.

  • @darrylmorgan
    @darrylmorgan 4 роки тому +1

    The Awesomeness Of Power Query..Great Tutorial Thank You Jon :)

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

    Thanks for making such clear and easy to understand videos!

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

    First thing what I do when watching your videos is clicking Like and then watching. Because I know they gonna impress me!

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

    Great job! I got it done following this step by step ... good job Jon! 👍

  • @jerusamatende663
    @jerusamatende663 Рік тому +1

    Hi Jon...Thank you for this tutorial. The videos are easy to understand

  • @r.lew7424
    @r.lew7424 3 роки тому +1

    Excellent tutorial Jon!

  • @evanjonesGCM
    @evanjonesGCM Рік тому +1

    Tremendously helpful, thanks for sharing! I had a table of 213K+ unique values that I needed to merge with a csv of over 4M records (too large for a xlsx table) and this did the trick.

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

    Enjoyed it! So much to learn!

  • @nadermounir8228
    @nadermounir8228 4 роки тому +1

    Thank you John ! Great tutorial

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

    Thank you, this video hit all the key points I needed.

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

    Thank you, this will help me learn how to extract data in my work environment. Love the Excel sample provided.

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

      I'm happy to hear it. Thanks Claudia! 😊

  • @FavouredLadyT
    @FavouredLadyT 4 роки тому +1

    Thank you! I always learn so much from you.

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

      Thank you, Tshepo! I appreciate your support. 🙌

  • @eCabinetstipsandtricks
    @eCabinetstipsandtricks 4 роки тому +3

    Thank you, Jon. This helped me a lot.

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

      Awesome! Thanks for letting us know! 🙌

  • @porridgeisgood129
    @porridgeisgood129 Рік тому +2

    Very well explained. Thankyou.

  • @mihir2508
    @mihir2508 3 роки тому +2

    Nice and simple explanation. Thanks a lot.

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

    Thank you! Massive help... something so simple...

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

    Thank you, John, its very helpful 👍

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

    Great Video, help me a lot. I was struglling to automate my vlookup from long time. now its matter of 10 min only. thanks

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

    Very well taught. God bless you

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

    Great tutorial Jon thanks a lot.

  • @aviroy7085
    @aviroy7085 4 роки тому +1

    Amazing Jon !! you have a magic

  • @kashivishwanath7603
    @kashivishwanath7603 Рік тому +1

    Thank you. Wonderfully explained.🙏🙏🙏

  • @johnharker3478
    @johnharker3478 6 місяців тому +1

    This is exactly what i was looking for - thank you.

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

      Great to hear that! 😀

  • @h.h.l6717
    @h.h.l6717 2 роки тому

    This is powerful and useful. Well explanation!

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

    Thank you this is exactly what I needed

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

    Cheers Jon, absolute legend.

  • @eyitayoeyitayo-lawal2331
    @eyitayoeyitayo-lawal2331 3 роки тому +1

    Well explained. Brilliant!

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

    Very clearly explained. Thanks so much

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

    Mind blowing. Really very helpful.

  • @MarketingUnoElTonirMarketing
    @MarketingUnoElTonirMarketing Рік тому +1

    Thank you, This video really helped me!

  • @moneyfun1538
    @moneyfun1538 4 роки тому +1

    Awesome Jon... thank you a lot

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

    Thank you Jon, you saved me!

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

    Jon, thanks, very useful

  • @AditR22
    @AditR22 Місяць тому

    Thanks for the great tutorial

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

    good lesson

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

    Its very useful. Thanks Jon

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

    Brilliant, so easy to follow! Thanks Jon :)

  • @khadimali9755
    @khadimali9755 8 місяців тому +1

    Thank you very much Jon for this video

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

      Glad you liked it, Khadi! 😀

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

    Thanks for these valuable info 👍

  • @Su-ec7pj
    @Su-ec7pj 4 роки тому +1

    Great Tutorial. Thumbs up :)

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

    Awesome. Thank you!

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

    thx for the tutorial, this helps me to "vlookup" from *txt data with more than 3 million rows, since "normal" excel can only handle 1 millions row

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

    Bloody brilliant!!!

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

    you are amazing!! love you so much

  • @CzechCzar
    @CzechCzar 2 місяці тому

    super useful, thanks very much!

  • @Burak-lz9jk
    @Burak-lz9jk 3 роки тому +1

    Awesome.Thanks Jon

  • @plteow1884
    @plteow1884 4 роки тому +1

    Fantastic!! Thank you.

  • @monicasandru9311
    @monicasandru9311 Рік тому +1

    Explicit! Well done!

  • @johnjohn7568
    @johnjohn7568 Рік тому +1

    THANKS GREAT jOB!

  • @asmrindia
    @asmrindia 9 місяців тому +2

    Thanks

  • @johnborg5419
    @johnborg5419 4 роки тому +1

    Thanks Jon : )

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

    Really Helpful

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

    You a real one

  • @shuyifong1125
    @shuyifong1125 2 роки тому +5

    Hi Jon, tried to apply this technique to merge Cost data to Sales data by item code to derive profitability. A large majority of the merged data works - big thanks! But I notice that for only a few selected item codes, duplicate sales data are created in the merged data table. What are the possible reasons for that, and what can I do to avoid creation of duplicates? Thank you!

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

    Hi thanks for all these great videos really helping me to sort all my personal and professional info...
    My question is, Could you do the merge query with an approximate text match? its the same example as your video only the Orders DB matching column has an approximate "fuzzy" match...
    Kind of like using wildcards with the merge query
    Thanks

  • @abdullahalmaruf2658
    @abdullahalmaruf2658 4 роки тому +1

    Many many thanks

  • @deep123941
    @deep123941 4 роки тому +1

    👍👍👌👌 very helpful for me
    Thanks

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

    Many thanks 💯☑️

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

    Hi Jon.
    I immediately subscribed your super great video. It's just awesome.
    By the way, do we have a way to sort a single column only? My file has no relationship with other columns each other, so I just wanted to sort one column that doesn't impact other columns. Thanks.

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

    great!😀

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

    You are rock star 👍🏻👍🏻👍🏻👍🏻

  • @rosabb4310
    @rosabb4310 4 роки тому +1

    Thank you!

  • @papachoudhary5482
    @papachoudhary5482 4 роки тому +1

    Thanks! Sir

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

    Hi Jon, Thank you for the video!! I have large data set in my excel file it (saved it in csv format) is around 930000 cells. When I m working in the file it got hanged most of the time. Kindly advise how to work smoothly in the file...

  • @eeeraerts
    @eeeraerts 4 роки тому +1

    Many thanks this will help me

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

    Awesome 😍

  • @srikanthpillamari6598
    @srikanthpillamari6598 2 дні тому

    Thank you

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

    Thank you! the first attempt, it got all messed up and I was ready to give up "oh it does not apply to my case", then I tried again and worked beautiful. My case was whenever there is a country in one column, the race column needs place race name automatically. Example: If Ukraine country, then Race column-cell is 1-White, if Mexico, then 3-Hispanic; if China, then 4-Other Asian; if Phillipines, then 9-Filipino, and so forth. for this process I was using the Xlookup. So today first time used the PowerQuery. I handle 100 + data and no way I will type race for each country.

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

    Yeah, very useful

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

    Nice Video 👍

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

    Hi. Thanks for the video, this was very close to what I'm trying to do, but not quite. Let's say I have a customers table with cusID and cusName columns. I would like to have another table where I enter the order information, called orders I suppose. when I enter a customer ID into the orders table, I would like the orders.customerName to update automatically. I don't want to create a merged new table, but rather pull that information into the orders table itself. Is this possible using either the Data Model or Power Query, or should I just stick to using XLOOKUP?

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

    Thank you Jon, I have successfully merged many tables but I can not figure out how to either conditionally merge tables or use the equivalent of the DAX LOOKUPVALUE function. From my SQL Database table I have 2 queries and I need to be able to retrieve data from Query 1 Column C based on both Column A & B values and place this data in Query 2 based on Column B & D in Query 2. Is there any way you know how to do this?

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

    Awesome

  • @shabbirchandiwala4216
    @shabbirchandiwala4216 4 роки тому +1

    Nice Trick

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

    I am using a lot of this method to do my reconciliations for suppliers account. Thank you so much! It is a job saver! Now, my question is, I have made data connection to pdf files (statements of account) and created my power query. I noticed that if someone make any changes to the pdf file, e.g: re-name it or even delete it from our shared location, I lose the connection and messes all what I’ve done. To save my work, I did copy the table to a normal excel file, however, is there any way to repair the connection? Replace the connection by adding the link to another copy of the same pdf file that I used before? Do you know what I mean?

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

    Hi Excel Campus, I wonder if I can do a combination of calculated field values and lookup just like this. Is it possible? thanks for the answer.

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

    Very helpful video but I'm having trouble getting my connection only table query to be visible from the primary table that I am merging into. Do these tables have to be sheets of the same excel file (like they are in your vid)? I feel like that isn't the issue because you specifically mention they don't even have to be the same file type. But clearly I'm missing something obvious.

  • @qrsimon
    @qrsimon Рік тому +1

    Nice

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

    Very nice , how can I Marge I modified table(Marge1) with another single table , knowing that the first table has a hide principal value , I've been trying to do this but it gets repeat some values

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

    Can we perform these operations if the customers table was in a different worksheet?

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

    Thank you. I have issues when I got extra rows after merge queries. do you know how I can fix this. thank you

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

    Is it possible to have more than one lookup column? Let’s say both tables contain Customer ID and Department ID columns. In the second table, contact info is different, depending on the combination of those two columns. Is it possible to merge by using two or more lookup columns?

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

    Can i merge more then 2 tables, or can i merge all files from folder? Thanks

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

    Sir: I have a file with multiple tabs...(Teacher Schedules) for each period of the day...looking to make Master Tab to include all teachers that have an open period just in case I have to cover a class...is that possible?...also have Master Tab updated automatically if a techer is assigned a new class for the year...Thanks Bob

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

    Hi Jon,
    I am using version excel 16 and under Data option in the ribbon, I cannot see the from table/range option.I see options of of get external data or new query.Can you please guide me.

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

    For example if there multiple items in one coloum and also same items in other excel file ,so can we get same result or it will show duplicate item

  • @sachinrv1
    @sachinrv1 3 роки тому +2

    The simple solution in older version would be to bring in column headers from the customers table into order table and then use MATCH function inside VLOOKUP in column index number condition to get relevant position of each column label followed by exact match. Anyway thanks for sharing the trick

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

    I want to ask a question it's not regarding this video but hope you answer it I have seen a couple of videos to create a search bar in excel to look through the table I have done all the steps correctly as described by many but it gives an error of formula I have done it 100 times exactly as it was described by some people.
    Need help.

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

    How come I couldn't find the "from table/range" option in data in the practice sheet I downloaded? is it bcuz of the excel version I have?