Use VLOOKUP to Find the 2nd Match (or nth Match)

Поделиться
HTML-код
  • Опубликовано: 30 май 2017
  • If you are familiar with the VLOOKUP function it's a great tool to lookup values in a range or table. However it will only bring back the first instance of the looked up value. What if you wanted the second instance of the value or even have all the instances of the value brought back? This could be done by using a helper column and the COUNTIF function. Watch the video to see how it's done!
    🔔 SUBSCRIBE to my channel ➜ goo.gl/wN3c3p
    🏫 Excel Training ➜ www.exceltraining101.com/p/tr...
    📚 Excel Books & Tech Gear ➜ www.amazon.com/shop/dough
    ⚙️ Tools: Screencasting ➜ techsmith.z6rjha.net/5Qe53
    ⚙️ Tools: Microsoft Office ➜ microsoft.msafflnk.net/rKL0G
    ⚙️ Tools: TubeBuddy ➜ www.tubebuddy.com/et101
    📝 This description may contain affiliate links and we'll receive a small commission if a purchased is made using the links (but at no additional cost to you). It'll support the channel and so more videos like this can be made. Thanks for your support!
    🎁 If you find these videos useful and want to support my channel go to www.buymeacoffee.com/dough
    #excel
    #msexcel
    #doughexcel
    ~-~~-~~~-~~-~
    Please watch: "Convert Table in a PDF File to Excel"
    • Convert Table in a PDF...
    ~-~~-~~~-~~-~

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

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

    For more videos that cover lookup concepts see the playlist at ruclips.net/p/PL-n8f1cY_Qw95JHWjCjPofsCd7hCWjI8l

  • @jagadishkumar2581
    @jagadishkumar2581 6 лет назад +4

    Thank you very much. Simple explanation and very useful too.

    • @DougHExcel
      @DougHExcel  6 лет назад

      +Jagadish Kumar you're welcome!

  • @MrCromler
    @MrCromler 5 лет назад +2

    Just what I need, and such an immaculate, lucid explanation. Great job, man! Thanks a lot for this!!!

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Stan McFoster, glad you liked it, thanks for commenting!

  • @felipevieira3906
    @felipevieira3906 6 лет назад

    That was really easy to understand, made my current excel project at least 2 times lighter, and easy to work on, thank you very much.

    • @DougHExcel
      @DougHExcel  6 лет назад

      Thanks Felipe Vieira, glad it helped!

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

    watched at least 10 videos to help me find a solution to the problem!Yours was the most helpful ,clear and concise!Keep doing what you are doing and Thanks a TON

  • @Vakies
    @Vakies 7 лет назад

    Your video is really so well-explained. Enjoy it a lot. Thanks!

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi Vakies, glad you liked it, thanks for commenting!

  • @Tessitura9
    @Tessitura9 5 лет назад

    This is great! What's funny is, I was capable of thinking all the way up to designing my own key (using the ampersand), but just didn't know how to make the key unique with the cool countif trick. Now, I can pull all of my unique occurrences for each occurrence. Thank you!

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Tessitura9, glad you liked it, thanks for commenting!

  • @vishalshah1968
    @vishalshah1968 6 лет назад

    Doug, you are a life saver. Great video and extremely explanatory. I think you should expand this video to look up all values for SKU at once. Incorporating the helper column may confuse a few people.

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi vishal shah, glad you liked it, thanks for commenting!

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

      Yes waiting for what you have asked if someone can help to lookup all values that would be the greatest one too.

  • @Prakashkumar-cp4mv
    @Prakashkumar-cp4mv 6 лет назад +1

    Really helpful and simple method. Thank you so much

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi prakash kumar chandra sekeran, glad you liked it, thanks for commenting!

  • @King1CurtisLOLZBros
    @King1CurtisLOLZBros 5 лет назад +3

    This is so fire. I love you a lot ngl. Thank you for this

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Cruzznce, glad you liked it, thanks for commenting!

  • @francisilustre3645
    @francisilustre3645 6 лет назад

    Thanks! I was looking for something like this the whole day! Subscribed!

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi Francis Ilustre...you're welcome, glad you liked!

  • @zniu_wilhelmvandermerwe7247
    @zniu_wilhelmvandermerwe7247 7 лет назад

    Nicely done, Doug! Thanks.

    • @DougHExcel
      @DougHExcel  7 лет назад +1

      Hi Wilhelm van der Merwe...you're welcome, glad you liked!

  • @heathersimmons6164
    @heathersimmons6164 5 лет назад

    This is an excellent tutorial! Thanks!!

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Heather Simmons, glad you liked it, thanks for commenting!

  • @davtoh
    @davtoh 5 лет назад

    Superb! Very useful and clear explanation. Thanks!

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi David Toh, glad you liked it, thanks for commenting!

  • @reszzz
    @reszzz 5 лет назад

    Great idea. Thanks. That Countif formula is genius.

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Resz7, glad you liked it, thanks for commenting!

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

    How generous you are. You helped me a lot. Thank you, sir.

  • @rjmaratas6921
    @rjmaratas6921 6 лет назад

    THANK YOU SO MUCH!!!! I've been searching this strategy for so long :)

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi RJ Gasing...you're welcome, glad you liked!

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

    Brilliant, thank you Doug!

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

      You’re welcome, thanks for the comment!

  • @Victor-ol1lo
    @Victor-ol1lo 7 лет назад

    Cool trick. Thanks Doug !

  • @kjbarks
    @kjbarks 6 лет назад

    Brilliant! Simple solution to a complicated problem

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi kjbarks, glad you liked it, thanks for commenting!

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

    This is what I was looking for. Thanks !

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

    Thank you so much for this . This was exactly the workaround I was looking for my adhoc report.

  • @Kildergcowboy
    @Kildergcowboy 5 лет назад

    Excellent video and formula usage!

    • @DougHExcel
      @DougHExcel  5 лет назад +1

      Hi Paul Flood, glad you liked it, thanks for commenting!

  • @Luciano_mp
    @Luciano_mp 7 лет назад

    Muito bom Doug, grande dica. Obrigado.

  • @katarina2822
    @katarina2822 5 лет назад +1

    This is soooo useful!! thank you

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

    Awesome! This just saved me so much time! Thank you!

  • @SunilSingh-ee4sc
    @SunilSingh-ee4sc 5 лет назад

    Explained clearly great job thanks sir

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

    Awesome, thanks for this mate!

  • @michaelfullard4983
    @michaelfullard4983 7 лет назад

    Nice one Doug, Thank you.

  • @excelisfun
    @excelisfun 7 лет назад +3

    Thanks for the nth fun!!!

  • @automationguide3498
    @automationguide3498 7 лет назад

    Nice Trick Doug !!
    Thank You

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

    peoples cleverness and generosity amazes me , always. thanks

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

    Great stuff, gonna test it tomorrow

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

      Hi Andy Przybysz, thanks for the comment!

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

    This help me a lot. Thank you very much

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

      Thanks Sakshi Waikar, glad it helped!

  • @shirabatya
    @shirabatya 6 лет назад

    Thanks so much. So clear and useful!

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi shirabatya, glad you liked it, thanks for commenting!

  • @ben9879
    @ben9879 6 лет назад

    It helps my current project, thanks !

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi Adrian Kristanto...you're welcome, glad you liked!

  • @kshitizjain6384
    @kshitizjain6384 6 лет назад

    Great logic. Thanks for the video!!

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi Kshitiz Jain, glad you liked it, thanks for commenting!

  • @sunilpawar4146
    @sunilpawar4146 5 лет назад

    Thanks sir,
    this videos very helfull for my daily wark tysm.

  • @AbuBakar-hv2em
    @AbuBakar-hv2em 4 года назад

    Excellent work very helpful

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

    The best! Thank you so much! 🥰

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

    Fantastic advise! I really appreciate this.

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

    Great work 👍 thanks 😊

  • @thefaisal13
    @thefaisal13 6 лет назад

    Amazing, thank you. You really helped me

    • @DougHExcel
      @DougHExcel  6 лет назад

      Thanks Faisal Alrashidi, glad it helped!

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

    Thanks man...u saved my time.

  • @hiteshchand
    @hiteshchand 5 лет назад

    Brilliant idea to to create helper table, thank you for this tip..

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

    Thank you very much, the helper column is a great idea. I found half of the solution im looking for, but now I need to figure out how to make the LOOKUP value change after it finds all the possible results and moves to the next row to do another VLOOKUP. (Basically it SORTS the results from top to bottom, but without touching the filtering or sorting buttons.) Wish me luck !

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

      Maybe the FILTER function can help. Perform a Lookup with the FILTER Function
      ruclips.net/video/pjr5cljnvxU/видео.html

  • @diptisharma9900
    @diptisharma9900 5 лет назад

    thanks for making it easier.
    Thanks a lot for this video

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

    Very useful for old Vlookup guy like me with a helper column. Thanks

  • @EhabMonther
    @EhabMonther 5 лет назад

    Thank you so much , this will help me a lot .

    • @DougHExcel
      @DougHExcel  5 лет назад

      Thanks Ehab Monther, glad it helped!

  • @oliviermanbode4788
    @oliviermanbode4788 5 лет назад

    Great tip...thx for sharing

  • @1KSO7EC409
    @1KSO7EC409 2 года назад

    Thank you - made my day

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

    Excellent working skill. It will very helpful to solve large database problems.

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

    thank you, you save my time!

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

    Thanks so much for this! :)

  • @SPARK9026ONLINE
    @SPARK9026ONLINE 7 лет назад

    Thank you for sharing😊. Good trick.

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi ARKS Production, thanks for the comment!

  • @nancmadi
    @nancmadi 7 лет назад

    Very cool.. gonna have to save this one to keep it handy.. never needed to do that, but you never know right.

    • @DougHExcel
      @DougHExcel  7 лет назад +1

      Hi nancmadi, glad you liked it, thanks for commenting!

  • @mohammedhamandi3500
    @mohammedhamandi3500 5 лет назад

    Thanks very much, its very useful

  • @gdn1983
    @gdn1983 5 лет назад

    Bro, this technique is very good. It solved my problem. Thanks a ton.

    • @DougHExcel
      @DougHExcel  5 лет назад

      Thanks Gurudatt Nayak, glad it helped!

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

    You are my hero, I have been trying to get this to work for ages, yours is the easiest method

  • @willm7994
    @willm7994 8 месяцев назад

    This is awesome ❤

    • @DougHExcel
      @DougHExcel  8 месяцев назад

      Hi Will M, thanks for the comment!

  • @lordbuller1019
    @lordbuller1019 6 лет назад

    really helpful, thank you

  • @Sayyed33
    @Sayyed33 6 лет назад

    Nice Video Doug H Bro....... Thanks

    • @DougHExcel
      @DougHExcel  6 лет назад

      +Sayyed Waseem you're welcome!

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

    This really solved my problem - Very good illustration

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

      Thanks Vijay Kumar, glad it helped!

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

    Thank you from Egypt :D

  • @eshwarchintala1596
    @eshwarchintala1596 6 лет назад

    Tanq bro...very use full information

  • @Pankaj-Verma-
    @Pankaj-Verma- 5 лет назад

    Great Video.

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Pankaj Verma, thanks for the comment!

  • @Meolimo
    @Meolimo 7 лет назад

    Thanks Doug very interesting

    • @DougHExcel
      @DougHExcel  7 лет назад +1

      Hi Mario Limoges, glad you liked it, thanks for commenting!

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

    THANK YOU! 🙏🏼

  • @wasimraja7449
    @wasimraja7449 6 лет назад

    i am very much thankful to you, it helps me a lot to solve my problems..................hats of to you..............My Name is Wasim Raja from INDIA

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi wasim raja, glad you liked it, thanks for commenting!

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

    Thank you!

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

    Thank you Boss...

  • @karljolivet5991
    @karljolivet5991 6 лет назад

    Great trick thank you

  • @bohemaxxtum
    @bohemaxxtum 7 лет назад

    it's very usefull trick.thanks.

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi bohemaxxtum...you're welcome, glad you liked!

  • @halamangpinoy6113
    @halamangpinoy6113 6 лет назад

    Thank you so much Bro :)

  • @MrAnasmustari
    @MrAnasmustari 6 лет назад

    Tx Very much, its realy help me so much

    • @DougHExcel
      @DougHExcel  6 лет назад

      Thanks Anas Mustari, glad it helped!

  • @dritannaum4360
    @dritannaum4360 7 лет назад

    Great solution, :)

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi Dritan Naum, glad you liked it, thanks for commenting!

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

    Thanks!

  • @danielrabello4837
    @danielrabello4837 7 лет назад

    Thanks for share.

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

    Thanks for the video. It helped me alot. But the value did not change over "H2". How can I fix it?

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

    thanks this really help m

  • @jeyakumarvj
    @jeyakumarvj 7 лет назад

    THANK U SO MUCH BRO👍😇🤝

  • @VS-rh8rq
    @VS-rh8rq 7 лет назад

    great stuff..

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi Vimal Saxena, glad you liked it, thanks for commenting!

  • @muzicmaster8
    @muzicmaster8 5 лет назад

    Hi Doug. How would you use the formula to always return the last match of multiple matches? Trying to do a formula where many different students will be submitting information under their name multiple times through google forms, and their most recent submission is the one that I need the vlookup function to display (for all 101 students). Would be awesome if you can help out with this!

    • @DougHExcel
      @DougHExcel  5 лет назад

      Maybe this will help ruclips.net/video/srpqosbYhuc/видео.html

  • @backendadmin1217
    @backendadmin1217 6 лет назад +1

    Salute!!!

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

      Hi Backend Admin, thanks for the comment!

  • @mallesh.k3071
    @mallesh.k3071 5 лет назад

    I have article wise pull back details if i sacnning in excel sheet vlookup need find find how many left from article list

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

      Sorry, don’t understand the comment/ question...

  • @asrarakashah1184
    @asrarakashah1184 5 лет назад

    what does the quotation mark " " in "A18 used for ?
    I am still a little bit clueless in this. thanks

    • @DougHExcel
      @DougHExcel  5 лет назад

      when you concatenate a string/text like the colon, it needs to be enclosed in double quotes

  • @mohammadyasin1105
    @mohammadyasin1105 5 лет назад

    You are great

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Income Tax, thanks for the comment!

  • @HudMan4U
    @HudMan4U 5 лет назад

    If you wanted to skip the helper column altogether, you could always combine with SMALL function as it works with both numbers and text as a nth match function. I use it with INDEX and MATCH frequently.

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

      Hi That Guy, thanks for the comment!

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

    This is brilliant! Save me from wrapping my head around the 'Small' formula 🤭👍

  • @TheDulithaabn
    @TheDulithaabn 5 лет назад

    Thank you..

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

    Thanks for this lesson! What if there is more columns and I want data from complete raw with different values to match?

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

      Hi Normunds Broks, thanks for the comment! You may want to consider Power Query for lookup too ruclips.net/user/dough517search?query=query+lookup

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

      Doug H Thanks a lot for idea, but unfortunatelly it is not what can solwe my case. May I ask you in private msg. just your opinion what could be the right function to solve my problem? I will find solution myself, but I really need just direction. 😏

  • @versusstats7051
    @versusstats7051 6 лет назад

    Brilliant

  • @BHARATSINARE
    @BHARATSINARE 6 лет назад

    THANKS

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

    Hi, can you show how to but from a different sheet? My master list is on a separate sheet and I tried connecting the with the helper column but it doesn't work. Thank you

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

      When you use the mouse to click through the ranges on the other sheet to fill in the argument value it should take the sheet name with the cell (range).

  • @terryfoster4104
    @terryfoster4104 6 лет назад

    For example, the first drop down is district managers and that shows me all the hotels in their area. The second is for maintenance managers but they don't cover all the district managers hotels so if I select both drop down I only want to see hotels coveted by both district manager and maintenance manager. Hope it makes sense

    • @DougHExcel
      @DougHExcel  6 лет назад

      This is like a lookup with multiple criteria. See these for some insights =>
      ruclips.net/video/9APtjXEZzvs/видео.html
      ruclips.net/video/_MP0jDs8XtU/видео.html
      ruclips.net/video/ZFUcLRnlByY/видео.html

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

    Hi, great video, thank you. However, i have a question, how to change your formula to look by the keyword. I have a list where i need to vlookup only cells with specific word.

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

      See if any of these fit ruclips.net/user/dough517search?query=power+query+search

  • @pastelari
    @pastelari 6 лет назад

    What if I have a list with multiple rows and columns that I need for a particular constant only? For example: I have a list of signed contracts with the estimator's name, date of signed contract, contract #, customer name, etc. I want to pull only the contracts for a particular estimator on another sheet without showing him any of the other estimators' signed contracts. The table it pulls the info from will constantly be updated with new signed contracts and some signed contracts that have been scheduled/removed from the list. How do I accomplish this?

    • @DougHExcel
      @DougHExcel  6 лет назад

      Try using either adv. filter ruclips.net/video/CQ5gnNG0teQ/видео.html
      or
      auto filter ruclips.net/video/XD0MHorKuUU/видео.html

  • @terryfoster4104
    @terryfoster4104 6 лет назад

    Hi, this works great. How would I show data based on two drop down boxes

    • @terryfoster4104
      @terryfoster4104 6 лет назад

      For example, the first drop down is district managers and that shows me all the hotels in their area. The second is for maintenance managers but they don't cover all the district managers hotels so if I select both drop down I only want to see hotels coveted by both district manager and maintenance manager. Hope it makes sense

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

      maybe one of these can help ruclips.net/user/DougHExcelsearch?query=multi%20lookup

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

    Thank you! But what if I want to get the last value in a range of unknown size? (constantly new values are being added to the column in which I'm having the results)

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

      Power Query will provide all matches so this might help
      ruclips.net/video/dxdt25BT5mA/видео.html

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

      or this one ruclips.net/video/srpqosbYhuc/видео.html

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

    Thanks, simple and easy. Just remove the #N/A with its proper function and it will keep the spreadsheet totally clean.

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

      Hi Manuel Mata Rueda, thanks for the comment!