+ Reply to Thread
Results 1 to 4 of 4

Partial Match - Mac characters match

  1. #1
    Registered User
    Join Date
    03-01-2018
    Location
    India
    MS-Off Ver
    2010
    Posts
    33

    Partial Match - Mac characters match

    Hello,

    xxx.JPG

    In the shown image, I need formula for cell E2 value.

    I want to match 10055 in column A and return column B value. Row 2,4 and 5 all have 10055 number within them. But I want to match it to row 4. This is because A4 cell has 10 characters in total and it has the highest % match among others. A2 cell has 12 characters and A5 has 15 characters.

    Is there a way to do it? I have shown simple example with numbers. Sometime I have table with text as well. Can any one help with this?

    Thanks

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Partial Match - Mac characters match

    arrayformulas = SHIFT+CTRL+Enter

    Mod Edit:

    =IF(SUM(-ISNUMBER(SEARCH($D$2,A2:A5)))<>0,INDEX(B2:B5,MATCH(MAX(IF(ISNUMBER(SEARCH($D$2,A2:A5)),LEN($D$2)/LEN(A2:A5),"-")),IF(ISNUMBER(SEARCH($D$2,A2:A5)),LEN($D$2)/LEN(A2:A5),0),0)),"no match")
    Attached Files Attached Files
    Last edited by AliGW; 11-07-2021 at 03:23 AM. Reason: Please include formulae within your post.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Partial Match - Mac characters match

    Please try

    =LOOKUP(2,1/FREQUENCY(1,LEN(A2:A5)*ISNUMBER(SEARCH(D2,A2:A5))),B2:B5)

  4. #4
    Registered User
    Join Date
    11-04-2021
    Location
    Brasil
    MS-Off Ver
    365
    Posts
    2

    Re: Partial Match - Mac characters match

    =index(b2:b5,match(aggregate(15,6,len(a2:a5)/isnumber(search(d2,a2:a5)),1),len(a2:a5)/isnumber(search(d2,a2:a5)),0))

+ 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] Find partial match between two columns and highlight cells that match
    By TomToms in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-18-2019, 01:07 PM
  2. 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
  3. Compare Date both Full match/ partial match between two columns
    By cyboincomp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-21-2018, 03:02 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] Partial match of first N characters conditional formating
    By wolf1438 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2018, 02:33 AM
  6. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  7. Replies: 0
    Last Post: 09-21-2013, 09:03 PM

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