+ Reply to Thread
Results 1 to 6 of 6

find first word within text string that matches from a list of keywords

Hybrid View

  1. #1
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: find first word within text string that matches from a list of keywords

    Using your posted workbook...
    This regular formula returns the first word in A2 that matches a word in the KEYWORDS list
    C2: =INDEX(Keywords,MATCH(MIN(INDEX(SEARCH(Keywords,A2&Keywords),0)),INDEX(SEARCH(Keywords,A2&Keywords),0),0))

    EDITED TO INCLUDE THIS COMMENT:
    The above formula assumes that at least one of the keywords will be found on the list.
    If that's not the case...
    Put the words "No Match" at the top of the KEYWORDS list and that will display when that situation exists


    Is that something you can work with?
    Attached Files Attached Files
    Last edited by Ron Coderre; 04-13-2012 at 03:22 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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