+ Reply to Thread
Results 1 to 12 of 12

Index and Match search engine with and without strings

  1. #1
    Registered User
    Join Date
    05-28-2021
    Location
    Indiana
    MS-Off Ver
    365
    Posts
    6

    Question Index and Match search engine with and without strings

    Hi,

    I have an index and match search engine that I am trying to create and could use a bit of pro help.

    I am using a helper column that contains a match/offset formula to go find my search criteria and return the row where its found.
    I am pairing this with the index tool to then go and list the info found in Column A for each row that the search criteria is found.

    The problem I have is that I have space delimited strings in some cells and others with no strings.

    Because of this I can return info from a string using wildcards, or info without a string, but not both. I know that if I separate each line to remove the strings it would work but I really dont want to do that due to how this sheet will be used and due to who will be using it.

    In the attached sheet the RPN search is where this problem can be seen. It returns 2 items when it should have 6.

    If someone has time to take a look and offer some help I would certainly appreciate it.
    Attached Files Attached Files
    Last edited by jm1245; 05-28-2021 at 12:08 PM. Reason: Problem has been solved

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: Index and Match search engine with and without strings

    Hi & welcome to the board.
    You could get rid of the helper col & use this in N8
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-28-2021
    Location
    Indiana
    MS-Off Ver
    365
    Posts
    6

    Re: Index and Match search engine with and without strings

    That works nicely to simplify the CPN search that is in that column.

    I am primarily looking for a solution to the RPN search box but I appreciate the advice.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: Index and Match search engine with and without strings

    I am primarily looking for a solution to the RPN search box
    Then why didn't you say that?

    All you need to do is change the ranges.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,768

    Re: Index and Match search engine with and without strings

    Use the same formula with changed ranges ???

    =FILTER($A$1:$A$1000,ISNUMBER(FIND(" "&$P$7&" "," "&$E$1:$E$1000&" ")))

  6. #6
    Registered User
    Join Date
    05-28-2021
    Location
    Indiana
    MS-Off Ver
    365
    Posts
    6

    Re: Index and Match search engine with and without strings

    Quote Originally Posted by Fluff13 View Post
    Then why didn't you say that?

    All you need to do is change the ranges.
    My apologies for not adding the most problematic cells in the sheet. I tried after you uploaded the fixed sheet but it does not return any values.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: Index and Match search engine with and without strings

    Can you post a new file showing what you tried.

  8. #8
    Registered User
    Join Date
    05-28-2021
    Location
    Indiana
    MS-Off Ver
    365
    Posts
    6

    Re: Index and Match search engine with and without strings

    Quote Originally Posted by JohnTopley View Post
    Use the same formula with changed ranges ???

    =FILTER($A$1:$A$1000,ISNUMBER(FIND(" "&$P$7&" "," "&$E$1:$E$1000&" ")))
    Thanks John for the updated formula information. Unfortunately I am unable to get anything to return. I believe its due to having some numbers with delimiters and some without in the same cell.

    Question about that syntax though.....when you use " "&$P$7&" " do the " " location become wildcards on each end without an * symbol?

  9. #9
    Registered User
    Join Date
    05-28-2021
    Location
    Indiana
    MS-Off Ver
    365
    Posts
    6

    Re: Index and Match search engine with and without strings

    Quote Originally Posted by Fluff13 View Post
    Can you post a new file showing what you tried.
    Absolutely. I added it to the original named Tooling Search Engine with Filter.

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: Index and Match search engine with and without strings

    Ok, thanks for that, just delete everything from P9 down & the formula in P8 will automatically spill down on it's own.

  11. #11
    Registered User
    Join Date
    05-28-2021
    Location
    Indiana
    MS-Off Ver
    365
    Posts
    6

    Re: Index and Match search engine with and without strings

    Quote Originally Posted by Fluff13 View Post
    Ok, thanks for that, just delete everything from P9 down & the formula in P8 will automatically spill down on it's own.
    Lol, wow I bet you get this often but I feel like a dummy for not doing that myself.

    I appreciate you taking the time to look at this and find the correct solution to the problem.

  12. #12
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: Index and Match search engine with and without strings

    You're welcome & thanks for the feedback.

+ 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. Index & Match Similar Strings
    By fbinaghi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-25-2019, 02:39 PM
  2. [SOLVED] Trying to convert mixed strings for lookup / index match.
    By Froogle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-22-2017, 10:57 AM
  3. Index / match Return Multiple Strings between Two Dates
    By artikyulashun in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-23-2017, 04:46 AM
  4. Search for best match with strings
    By moosmahna in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-23-2016, 03:25 AM
  5. Index Match using text strings and dates
    By ConcreteGuy79 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-30-2015, 02:54 PM
  6. [SOLVED] INDEX MATCH based on part of strings
    By Dahlia in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-07-2014, 07:55 AM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 AM

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