+ Reply to Thread
Results 1 to 8 of 8

Doing partial match using Lambda

  1. #1
    Registered User
    Join Date
    11-08-2022
    Location
    singapore
    MS-Off Ver
    365
    Posts
    16

    Doing partial match using Lambda

    Hi everyone, I need help on my lambda formula. You can have a look at my attached excel file. Column A of my excel file is all the naming conventions in accord the Vendors' data . Column B is the naming of all the vendors in accord to my naming. You can see the lambda formula in column C to do a partial match between column A and B. It looks up the vendor naming list and try to match to my listing and gives the Vendor naming in column C.
    How can I enhance my lambda formula further to look at the first names? For eg , from the excel file, cells C3 and C4 are extracted wrongly.
    Cell C3 should pull "bbb mediaa" as it starts with bbb.
    Please help me on this.Thanks for the help in advance.

    This is my lambda formula

    PHP Code: 
    =LET(a,$A$3:$A$14,c,BYROW(--ISNUMBER(SEARCH(TEXTSPLIT(B3," ",,1),a)),LAMBDA(x,SUM(x))),INDEX(a,XMATCH(MAX(c),c))) 
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,877

    Re: Doing partial match using Lambda

    Perhaps,

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,312

    Re: Doing partial match using Lambda

    I've been playing with this on and off all morning. Like you, I could not get the exact results that the OP wants.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    11-08-2022
    Location
    singapore
    MS-Off Ver
    365
    Posts
    16

    Re: Doing partial match using Lambda

    Thanks so much for this input! It seems to work well!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,312

    Re: Doing partial match using Lambda

    But it doesn't produce what you said you wanted ...

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  6. #6
    Registered User
    Join Date
    11-08-2022
    Location
    singapore
    MS-Off Ver
    365
    Posts
    16

    Re: Doing partial match using Lambda

    Hi, you are right. This formula doesn't help me completely. However, for a quick solution last week , it managed to help me for a quick fix.
    I hope someone can help me to refine the formula. Hence, I would like to keep the thread open for the inputs that I want.

  7. #7
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,877

    Re: Doing partial match using Lambda

    Could you provide all expected results in your sample file?

  8. #8
    Registered User
    Join Date
    11-08-2022
    Location
    singapore
    MS-Off Ver
    365
    Posts
    16

    Re: Doing partial match using Lambda

    Hi I am so sorry for not reverting back to you on time. Have been so busy. I have made a note to share the expected results once my busy schedule is over in next few days and thanks so much for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Match and Extract -LAMBDA,MAP,FILTER
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 32
    Last Post: 02-02-2024, 04:55 AM
  2. Replies: 11
    Last Post: 11-26-2022, 04:58 PM
  3. Index / match type problem, with partial string match
    By bkper087 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-05-2019, 02:42 AM
  4. Fuzzy match formula to match partial email string in another list?
    By Akshay in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-26-2018, 01:51 PM
  5. [SOLVED] Lookup partial values and if match return partial value from another cell
    By Renejorgensen in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-01-2017, 07:53 AM
  6. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  7. Replies: 0
    Last Post: 09-21-2013, 09:03 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1