VLOOKUP Hack #9: Partial Match

Поділитися
Вставка
  • Опубліковано 26 сер 2024
  • File Download: www.excel-univ...
    Learn Excel Fast:
    www.excel-univ...
    Let's say we want VLOOKUP to match the lookup value "North Region" with "North Region Subtotal" stored in the lookup range. We started this series by looking at the 4th argument. We know it can be TRUE or FALSE. FALSE means exact match and TRUE means approximate match. So, what exactly is an approximate match? Well, as you may have guessed, we'll dig into that, and, hack the 1st argument to accomplish our true objective: a partial match.
    Subscribe to blog and view all posts:
    www.excel-univ...

КОМЕНТАРІ • 74

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

    Thanks! Had trouble making this work figured it out a few minutes later. For some reason the numbers had to be on my second column while the text needs to be on the first column of the table, interchanging them breaks the formula. And yes, I'm also modifying what column value I need to return but I just couldn't do it the other way.

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

    what if its the other way around? what if the value in table is shorter?

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

    Brilliant 🎉thank you so much for doings this video. How to write the wild card for contains when doing countif on a list of values is so time saving!

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

    Didn't know I can use wildcard. Now I know. Thanks Jeff!

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

    Great video, especially the 'contains' part of the wildcard function, thanks Paul

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

      Thanks ... and glad it was helpful!

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

    Thank you for the video! I tried to use the contains option but it's not working. I've tried everything and can't seem to find a way to extract information from a cell using a table of keywords

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

    Thank you for the contribution Sir, You're a lifesaver!

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

    Hi it was so simple yet awesome hack...thanks man !!

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

      Thanks ... glad it was helpful :)

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

    Excellent!!

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

    Great video! What if "what you want to look up" contains a part of a different value from "where you want to look for it"? In your example, let's say, I want to look up a value called "North Region Amount" in B2? Thanks.

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

      This question looks so simple to be unanswered for 2 years. but only until drafting the explanation, I find that your question is quite ambiguous.
      1. Not just `~ Amount`, say the list also contains `~`, `~ Revenue`, `~ [Any word]` besides `~ Subtotal`, Excel would look up values the same alphabetically way, So, using the wildcard would return unexpected result. By then, running into error/warning is a blessing, than it generates the wrong value
      2. The video demonstrates the situation where the region (category) matters more than their homogenous attributes. In your case, if the type/nature of transaction matters more than the region, the lookup value would have been `"*" & "Amount"`.
      3. If the lookup table has both components being the variable, like `West Amount`, `West Subtotal`, `North Amount`, `West Subtotal` etc., there is no reason to look up by partial string match.

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

      Also, to the creator, I am so awed by this. I only learned about this trick today, more than a decade when I learned VLOOKUP lols.
      But like what the question reflects, the use is quite dependent on the lookup data.
      Also, also, shouldn't the lookup value be just `North` since `Region Subtotal` would be same throughout? haha
      Hope your sharing would reach more people soon.

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

    Great Hack. Thanks for sharing.

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

      Thanks ... glad it was helpful!

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

    thanks a bunch, saves me a lot of time

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

    Can someone help: I need to swich (DATA AND PURPOSE). How can i Do it?

  • @adarshyalgar4555
    @adarshyalgar4555 23 дні тому

    What is that wild card? Can anyone tell me exact formalla

  • @chris-zu6sf
    @chris-zu6sf 2 роки тому

    Can you make a video that will return a partial string such as 'Ft G Meade, MD' from a text string 'Fort George Meade, MD'? Both are sources from different tables. Both table values will be joined together.

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

    omg this is great! you saved me hours of work here

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

    This is amazing, thank you so much, subscribed!

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

      Glad it was helpful :)

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

    thanks

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

      Welcome :)

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

    Is there a way to best match with vlookup if there are spelling errors, such as “north region” and “north regool”

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

    Great technique Jeff, thanks for the examples 👍

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

    What if there are numbers instead of a string? Will that still work ?

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

    Brilliant, worked for me, thanks.

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

      Glad it helped!

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

    thank you very much! , greetings from Mexico ✌🏻

  • @ginger.schooling
    @ginger.schooling 2 роки тому +1

    LOVE IT! exactly what I was wondering about. Thank you!

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

      Yay ... glad it was helpful :)

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

    what if I have a first name and last name in one sheet and another sheet with first name father name and last name. how do I solve that?

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

    What if we want in reverse order, that is we want north in D12 ROW

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

    Thank you much!

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

    Thank you!!

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

    Simply Awesome. Thank you so much!!

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

      Glad it helped Arun ... thank you!

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

    What if I want to find 'region subtotal north' ?

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

    Subscription added. Thanks!

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

    Very nice video sir.
    But i have a problem while compiling result of std 11 ,
    1 student have written his surname first in Physics paper and same student written his surname lastly.
    So how to use vlookup in this situation.
    Pls guide me.
    Thanks in advance

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

    Thanks Sir. Good information

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

    nice stuff dude, really help

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

    What if you want to get a total all of columns that contain "region"? I have hundred of rows of data that require me to extract sales #s of all row that contain X in Column A

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

      Rather than VLOOKUP, you may want to consider using SUMIFS. I do have a video about it here: ua-cam.com/video/za5q0m9e98U/v-deo.html
      Skip ahead to about minute 12. Hope it helps!

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

    Thank you very much, it's helpful

  • @magdahassib694
    @magdahassib694 10 місяців тому

    Great 👍 thanks

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

    Thanks 👍

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

    Found it finally. Thanks for this video Sir

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

    Life saver

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

      Glad it helped :)

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

    just THANK YOU

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

      Glad it was helpful :)

  • @richbarrier
    @richbarrier 5 місяців тому

    Omg omg omg this is it you saved me!!!

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

    Simply awesome sir, thanks from Sri Lanka

  • @fda.r5628
    @fda.r5628 2 місяці тому

    Thanks ❤❤❤❤

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

    Thank you!

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

    Finally my awnser!

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

      Yay ... glad it helped!

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

    You are great.

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

    Great video

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

      Thank you :)

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

    🎉

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

    2:40

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

    I'm a P-ro now 😅👍

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

    This is Awesome.....

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

      Thank you!

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

    Thank u

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

      You are very welcome!

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

      Welcome :)