+ Reply to Thread
Results 1 to 7 of 7

Full & Partial Matches with Lookup Values in Array

  1. #1
    Registered User
    Join Date
    07-30-2020
    Location
    BANGALORE
    MS-Off Ver
    2010
    Posts
    3

    Post Full & Partial Matches with Lookup Values in Array

    Hi Friends,

    I need a results for the column from the table in the table(sheet2). I have attached a document with some example. please help me on it.

    Thanks,
    Vijay
    Attached Files Attached Files
    Last edited by AliGW; 07-30-2020 at 04:11 AM.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: I need results from the table.

    this will work on exact matches from list: =INDEX('table(Sheet2)'!$B$2:$B$15,MATCH(TRUE,INDEX(ISNUMBER(SEARCH('table(Sheet2)'!$B$2:$B$15,A2)),,),0))
    It will fail in case of string comparison, like in the case of "office"
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    07-30-2020
    Location
    BANGALORE
    MS-Off Ver
    2010
    Posts
    3

    Re: I need results from the table.

    Thank you for your response and i want to explain you how it works exactly in my table. at least i want to exact match for word to word.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: I need results from the table.

    This would work if:

    (a) the lookup list did not have a spelling mistake (safty glass)
    (b) there were consistent logic to looking for whole or incomplete words

    =LOOKUP(1000,SEARCH($J$2:$J$13,B2),$J$2:$J$13)

    Unfortunately there are anomalies in your logic in rows 3, 5, 6 and 8: the answers you are expecting here are mutually exclusive. You are going to need to be able to tell Excel when to accept a partial match and when not, so you need to explain your logic to us IN FULL.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Full & Partial Matches with Lookup Values in Array

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done it for you today.)

  6. #6
    Registered User
    Join Date
    07-30-2020
    Location
    BANGALORE
    MS-Off Ver
    2010
    Posts
    3

    Re: Full & Partial Matches with Lookup Values in Array

    Thank You. I will improve myself regarding posting query.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Full & Partial Matches with Lookup Values in Array

    Great, but you need to give more detail as outlined in post #4.

+ 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. Replies: 5
    Last Post: 01-02-2020, 07:16 AM
  2. [SOLVED] Creating a ranking table from a results table - using excel 2007
    By billyd333 in forum Excel General
    Replies: 4
    Last Post: 03-19-2019, 03:34 AM
  3. Replies: 0
    Last Post: 02-11-2017, 05:56 AM
  4. Pivot Table Results to Secondary Table with Horizontal Results
    By Pony08 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-07-2015, 04:18 PM
  5. [SOLVED] Analyse each of the groups in a Data Table and send results to a Summary Table
    By PeterR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2015, 10:26 PM
  6. Replies: 1
    Last Post: 11-01-2012, 12:28 AM
  7. Replies: 2
    Last Post: 02-03-2012, 12:13 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