Excel Magic Trick 323: Partial Text VLOOKUP (Fuzzy Match)

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024
  • Download Excel Start File: people.highlin...
    Download Excel Finished File: people.highlin...
    Two formulas: VLOOKUP function with wild card criteria for the lookup_value and LOOKUP / SEARCH functions formula with 2^15 number. See what happens when there are duplicates: the two formulas behave differently (VLOOKUP returns first and LOOKUP SEARCH returns last).
    From Mr Excel Message Board
    Fuzzy Match
  • НаукаНаука

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

  • @raheelbaber4648
    @raheelbaber4648 Год назад +1

    For the last 7years , I never returned empty handed from your channel whenever an excel problem presented itself... can't thank you enough..

    • @excelisfun
      @excelisfun  Год назад +1

      So glad to help! That has been my goal for the past 14 years at RUclips : )

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

    Isn't weird how you watch a tutorial and it has nothing to do with what your problem is about... then it helps you SOLVE the problem anyway!? Thanks again dude!

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

    Okay this video is 12 years old nice, it worked and it helped..

  • @onezdara
    @onezdara 12 лет назад +2

    This is so helpful I can't even express. I've just saved hours and hours of brainless work. Thanks for the great videos.

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

    Damn, video is 14 years old yet still solved my excel problems, Thanks Man!

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

    Perfect trick and very usable thank you very much. For those who cannot solve the problem with the trick, also try to google "fuzzy lookup excel add in"....

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

    Love it, 10000 records and this solution perfect. Thank you excells fun

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

    this was i've been looking for in my entire excel LIFE! thanks man!

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

    You have added years to my life!!! THANK YOU!!

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

      You are welcome, Ryan!!!

  • @PritamAjayPawar
    @PritamAjayPawar Год назад +1

    Useful even after so many years. Thanx man.

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

    Thanks a lot sir...this solved my biggest problem at the moment. God bless you dude.

  • @UteeLiu
    @UteeLiu Год назад +1

    thank you for all your amazing videos

  • @excelisfun
    @excelisfun  14 лет назад

    I am glad that the video helped!!

  • @excelisfun
    @excelisfun  14 лет назад

    You are welcome!

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

    Thanks Mike, EXCELlent EXplanation!!!

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

    Thank u sir , appreciate ur Hard work, Helped me a lot...

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

      Always glad to help with my videos : )

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

    Thank you man , you saved my day , i was trying this from many hours...

  • @excelisfun
    @excelisfun  13 лет назад

    Cool! I am glad the video had some use.

  • @1552009mahesh
    @1552009mahesh 2 года назад

    Thank you very much my friend. I was looking for this formula.

  • @excelisfun
    @excelisfun  13 лет назад

    I am glad it helped!

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

    As always your solutions are amazing. Thanks. I always learn from your videos.

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

    Great tip about the duplicates. Awesome 👌🆒️🙌

  • @lamido7
    @lamido7 14 лет назад +1

    OMG you just saved my life. Thank you!!

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

    Bloody genius! Thanks mate!

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

    For the opposite way, longer strings matching shorter strings you need to use just a part of the longer string For ex, if the beginning is the same in both you can use: vlookup(Trim(Left(cell value,5))&"*";table/range;3;false), what i did was telling excel to look for only the first 5 characters from the longer string into the shorter string starting from the left and if they match it will give me the result from the column 3 with perfect match. It can work similarly for the right side, just replace left function with the right function. Hope it helps.

  • @BradTaylor12000
    @BradTaylor12000 12 лет назад +2

    Also, for longer text strings you can use TRIM function as your search lookup value...for the first portion of the string "(TRIM(LEFT(K1,10))" to just look at the first part of the text.

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

      THANKS A LOT. It's working brilliantly.

  • @MayhewFamily
    @MayhewFamily 14 лет назад

    Thank you. I have reached out to Mrexcel. Sorry you are so busy. Best of luck.
    -Trish

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

    Thanks buddy! This helped a lot!

  • @naveenbabu6258
    @naveenbabu6258 8 лет назад

    Awesome!. From long hours looking for this. Thanks for sharing youtube. Kudos!

  • @RahulKumar-zm4wv
    @RahulKumar-zm4wv 2 года назад

    such a very helpful video

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

    Thank you so much man. It helped me a lot

  • @MalissaThomas
    @MalissaThomas 9 лет назад

    Works like a charm

  • @excelisfun
    @excelisfun  14 лет назад

    If you are matching 2 columns, try:
    Excel Magic Trick 528: Check Two Lists For Discrepancies MATCH and VLOOKUP functions

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

    Excellent, you saved my time Man. TA

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

    Man you are awesome

  • @ArBon747
    @ArBon747 10 месяцев назад +1

    thank you

  • @mysticsmythology
    @mysticsmythology 6 месяцев назад

    thank you it worked

  • @warreer
    @warreer 5 лет назад +8

    Wondering if this can be reversed (i.e. can you start with the longer text string and have it look up a shorter one)? Also, can this be done with index / match?

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

    Very very helpful. Thank you

  • @rmc5446
    @rmc5446 12 лет назад

    Thanks! variables are going to be very helpful!

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

    Helpful! Thank you!

  • @excelisfun
    @excelisfun  15 лет назад

    Dear planiolro,
    The solution is already doing an aproximate match. I don't know how to do an aproximate aproximate match.
    --excelisfun

  • @excelisfun
    @excelisfun  11 лет назад

    Maybe try the lookup_value as:
    =LEFT(cell,4)

  • @tazeens
    @tazeens 8 лет назад

    OMG Thanks so much, this helped me immensely

  • @2ru2pacFan
    @2ru2pacFan 3 года назад

    Damn did someone just let one go 1:52 😳
    BTW great tutorial lol

  • @excelisfun
    @excelisfun  12 лет назад

    @zaance26 , Fuzzy Lookup will never work perfectly and will not always work with misspelled words. It may work ocassionally and other times it will not work. There is just no wway that will work 100% of the time with Fuzzy Math.

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

    Thanks a lot. Very Helpful

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

    Nice information

  • @excelisfun
    @excelisfun  12 лет назад

    Try thsi video:
    Excel 2010 Magic Trick 798: Partial Text Lookup Formula To Return Multiple E-mail Records

  • @BradTaylor12000
    @BradTaylor12000 12 лет назад

    Awesome! Thanks for you great videos!

  • @excelisfun
    @excelisfun  14 лет назад

    Try this video:
    Mr Excel & excelisfun Trick 54: Approximate Lookup To Return Multiple Items

  • @ariesmelissa
    @ariesmelissa 11 лет назад +1

    OMG THANK YOU BRO

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

    Not all heroes wear capes.

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

      Thank you for the clever words of kindness : )

  • @DurgeshSirwani
    @DurgeshSirwani 10 лет назад

    Massive Help, Thanks :]

  • @vinodpatil88
    @vinodpatil88 9 лет назад

    thanks
    this was awesome

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

    Brilliant!

  • @MdHabiburRahmanhr
    @MdHabiburRahmanhr 6 дней назад

    Thanks

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

    Thank you for so much knowledge shared... You rock ! I need help though, I am trying to get partial lookup for number i.e. for valu 657.58 I want to look 65* in another table... My formula (idea) was VLOOKUP(LEFT (C2,2)&"*",'DEC'!E:E,1,0) tank you in advance...

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

    how to do if i want to return a partial text instead of looking for a partial text?

  • @excelisfun
    @excelisfun  14 лет назад

    I am currently overwhelmed at work (80 + hours per week)...
    If you have specific Excel questions try this other Excel site:
    mrexcel..com/forum

  • @excelisfun
    @excelisfun  15 лет назад

    Dear planiolro,
    If you do a search at the Mr Excel Message Board for "Fuzzy Match", there is some amazing VBA code that will help to reduce the duplicate problem.
    --excelisfun

  • @nat.serrano
    @nat.serrano 6 лет назад

    thank you sir

  • @excelisfun
    @excelisfun  13 лет назад

    Tru this video:
    Mr Excel & excelisfun Trick 54: Approximate Lookup To Return Multiple Items

  • @sevirinrush
    @sevirinrush 9 лет назад

    Thaaaanks a lot :)

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

    Thanks for the info. I have a question, what If the cell we are trying to identify has more text than the ones that appears on the range, how can we use the formula, If it´s impossible, do you know another method to do that. Thank you in advance for your support.

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

    Maybe it's time to pull this video? It's 12 years old. Excel has evolved.

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

      Not yet, the majority of the still uses Excel 2010. So this video is for the majority. We that have Microsoft 365 are lucky to have all the evolved features such as XLOOKUP. I have a video for you will all the latest fuzzy loook tips: ruclips.net/video/bIAmSdklRdo/видео.html

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

    Hello,
    i am a regular follower of videos and learnt a lot about excel by seeing your videos.
    by profession i am a analyst and i need some help from you and it is something similar to the video you have posted.
    i have two names in lookup array (dasgupta and r gupta). whereas my lookup value is only "gupta". when i am doing the approximate match, it is picking up dasgupta whereas it has to ideally pick gupta. it does so because vlookup picks up the first occurance it comes across the array. but, is there any better way to look for most appropriate name from the lookup array to get the most ideal results
    will be waiting for your reply
    Thanks in advance
    Best
    Kishore

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

    Hello there, thank you for all your amazing videos! I'm using the data validation for a list of categories I have in my checking account on excel. I'm trying to have excel automatically display one of the several categories based in a related partial word found in the description leger. For example: =IF(OR(ISNUMBER(SEARCH("WAL-MART",C2)),ISNUMBER(SEARCH ("office Depot",C2))), "GROCERIES", "OFFICE SUPPLIES") will only display one or the other. Can a function be repeated several times in the same cell in order to display any of the 20+ categories in the list? if so, can you give an example of how to do it? I hope I'm making any sense to you, thank you so much : )

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

    Hi,
    You explain to bring a vlookup value for a substring. How can I do the vice versa? i.e. I have substring (John) and values next to it (Male). and I have strings (Mr. John Bay), I want to bring "male" value next to the "Mr. John Bay". Would you please help me with this formula?

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

    What if I wanted to list not just the first and last values but all matched values?

  • @satheeshtroy
    @satheeshtroy 10 лет назад +1

    U videos are helping a lot..need a favour...How can i get a country's name automatically when i enter the state name in a cell. I have given the source datas in the seperate sheet...can u help me on this..

  • @VijayendranRaghavendran
    @VijayendranRaghavendran 11 лет назад

    Hi Mike, Thank you for the video. I have a situation where I have both Don and McDonalds and I would like the lookup to return their respective matches. With the 2^15 formula, it always returns the last match. I work in a school where there is a ana and svetlana, but they have different fields against them.

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

      Hello, did you find any solution???

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

    what is its the other way around? If my table contains "small" and what i am looking up is "small and long" so find the value bc it contains the word "small" and more.

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

    Hi teacher
    The fuzzy is similar to char or term?

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

    It is not working please help. Want to apply vlookup between texts (No numbers) and texts are exactly same in both tables

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

    Hi, I think your videos are fantastic. I apologise if you've answered previously - but what if the look up value is anything from within the string. Say "Blue Loctite 571B 50ml with pump gun" and the Lookup table may read like "Loctite 571 Adhesive 50ml". Neither table matches but I would like the search to suggest the record based on a partial match, automatically. So the common string being "Loctite 571". Appreciate your advise.

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

      hi . i just read your comment and i have this idea: instead of searching "Loctite 571" you may search "Loctite 571 " with space at the end after 1 . i hope that this helps. enjoy!

  • @MayhewFamily
    @MayhewFamily 14 лет назад

    Is there a way to use lookup and match to find a value which corresponds to the last four digits of a specific date (year)when the lookup value is only listed once in a column but the rows are which correspond to the lookup value are listed in another column on several rows? Col A - Tenant, COl B date, Col C rent. But within B&C row 1-20. Row quantity varies based on tenant lease terms.

  • @tylerjames6334
    @tylerjames6334 11 лет назад

    Hi there, thanks your video, really good
    and I have a question which is how can I vlookup the previous letters to match with the table_array? like abcd , abcdefg, i just want to match the first 4 letters in two columns with thousand same data like that.. plz give me some advices.. really urgent and thanks so so so much

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

    can you pls do also a reverse partial lookup

  • @QQ-nb2ic
    @QQ-nb2ic 4 года назад

    I need to do a vlookup with wrap text. How can I do that?

  • @zep03
    @zep03 3 месяца назад

    what if i wanted to match for names, and some people put the last name first and then a comma before the first name, instead of first name last name? e.g. Bill Gates vs Gates, Bill? Which formula suits?

  • @excelisfun
    @excelisfun  11 лет назад

    I am not sure how to solve that. You can try posting to THE best Excel question site:
    mrexcel [dot] com/forum

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

    Good

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

    Thanks again.. I'm so 10 yrs late

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

      You are welcome, Mylene! It is never too late : ) : ) See you in the next one!

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

      @@excelisfun definitely!!

  • @anastasiabella4734
    @anastasiabella4734 10 лет назад

    How would it work in opposite way? I have for instance " Smith P," that I'm looking for, in a table that has "Smith" in one row, and in second there is number associated with it. Thanks

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

    I want to match long string in small string but this formula is not working, can u just replace text with substring and tell us how we can put the formula

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

    how can i extract particular text strings (string list available in a diff sheet) from address column in MS Excel?

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

    I see that one option returns first and the other returns last. I want to return all true results. Whats the best way to do that? is it simply an "if" statement?

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

    Sir, help me please. Why did my result come out as "Mr Hensen" instead of "Mr Williams" ?. I use your given Excel file..and it turn red in colour for F17.

  • @mystic0
    @mystic0 8 лет назад

    The way he provided didn't work for me. I think its because he is using an older version (as this was posted in 2009). I'm using Excel 2013 on Windows. The ways that worked for me were:
    =VLOOKUP("*"& E8 &"*",B8:C14,2,FALSE)
    =VLOOKUP("*Cable and Wireless*",B8:C14,2,FALSE)
    Although it still wasn't perfect and sometimes game me a N/A return.

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

    Cell A1= 25,7,3,61
    Cell B1= 7,3
    Now I want to delete comman value jese value(7,3) dono cells me he so I want final result in C1=25,61 kyu ki ye value B1 me nhi he
    Cell C1= 25,61 aana cheye

  • @shafiemaslihmy-av5094
    @shafiemaslihmy-av5094 5 лет назад

    Hi, i faced issue. When using vlookup + wild card for a large data, i faced super slow result when calculating those data using the formula. any solution to counter the issue?

  • @planiolro
    @planiolro 15 лет назад

    If we have duplicates what the solution then?

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

    How can I use vlookup with partial string and multiple criteria

  • @אמירדהן-ק8ש
    @אמירדהן-ק8ש 11 лет назад

    How come those wild cards do not work in hebrew? I've tried looking for a partial text string that is not always in the same position. Your solution here of "*"&cell ref w. partial text string&"*" works in english but not in hebrew. I've tried several times.

  • @emailuznow
    @emailuznow 14 лет назад

    Hi,
    What if i needed to extract both the matches found i.e duplicates, what formula can i use?

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

    Sir, why 2v 15 taken. Pl explain, sir.

  • @ritzzzy2042
    @ritzzzy2042 8 лет назад

    Hi, I have created a worksheet of data listing people's names, their team leaders and ops managers. In trying to transfer this data onto a different sheet. how would i go about doing this ? Thanks

  • @elainechan4220
    @elainechan4220 11 лет назад

    Hi - this is really cool. how about if Column E and Column B is swapped? Where Column E is a longer string and Colume B is a sub-string of Colume E?

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

      Hey, did you managed to find this after 5 years. hahaha. Im in a similar situation now.

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

      @@syafiqzulkepli2761 did you find a solution for this? Please let me know , i too in similar situation now.

  • @mattbrown4098
    @mattbrown4098 12 лет назад

    Is there a way to identify that a "key word" in the array exists in the lookup value, then reference the column? (i.e. My bank statement says "CHECK CRD PURCHASE 08/03 TRADER JOE'S" and I have an array that has a column saying "trader joe","groceries". I would want then "groceries" returned next to the bank statement.) Thoughts?