+ Reply to Thread
Results 1 to 4 of 4

Search function for multiple terms with a slight twist

  1. #1
    Registered User
    Join Date
    07-22-2012
    Location
    Shanghai
    MS-Off Ver
    Excel 2003
    Posts
    9

    Search function for multiple terms with a slight twist

    Basically, I need a formula that will search a given cell against multiple "search terms" and return an appropriate matching result. The trick is that some search terms contain other search terms; in the example attached, I would need to differentiate those terms that contain contain "horsey" from those that contain merely "horse" (but not "horsey"). Please help!!

    Thanks much,
    SJB
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Search function for multiple terms with a slight twist

    Hi look into attachment and tell is iti ok?
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    07-22-2012
    Location
    Shanghai
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Search function for multiple terms with a slight twist

    Not quite what I need here. What I need is a formula to be inserted in Column D such that, for example, if Column C contains "1232dog asdf3" will return "leash" (the matching term for "*dog*") in Column D.


    Delete the entries already in Column D if necessary. Those are just the "correct" responses entered manually.

    Thanks again for the help.

    SJB

  4. #4
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Search function for multiple terms with a slight twist

    I am afraid that I'm not able to find proper inbuilt function but You can use this small UDF (there is sample in attachment )
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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