+ Reply to Thread
Results 1 to 4 of 4

Determine if a cell with text contains a keyword from a list

  1. #1
    Registered User
    Join Date
    02-26-2021
    Location
    Edinburgh
    MS-Off Ver
    office 365
    Posts
    1

    Post Determine if a cell with text contains a keyword from a list

    Hi

    I have coulum A which contains text seperated with / and , I want to run a VLook Up against it to see if a list of words in another coulum exist in it if they do put the word that was found in coolum B in the below example I would be looking to find the word Learning

    Can anyone help.

    Directors-of-Learning/
    Parents/Directors-of-Learning/[/url]
    Last edited by 6StringJazzer; 02-26-2021 at 09:33 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: VLook Up

    Welcome to the Forum BJR25!

    I modified your title to reflect your actual question. Your title does not really tell us about your question, and also assumes that VLOOKUP is the answer when VLOOKUP can't be used for this.

    It would be very helpful to provide a small sample file. I think I understand your description, but your example does not show much and does not show how you want the result to look. With a sample file we can test our solution before giving it to you. See yellow banner at the top of the page.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Determine if a cell with text contains a keyword from a list

    If your keywords are in D1 to D5 try this in B1 and drag down

    Note: This is an array formula so it is entered by holding down Ctrl and Shift and pressing enter.

    =IFERROR(INDEX($D$1:$D$5,SMALL(IF(COUNTIF($A1,"*"&$D$1:$D$5&"*"),MATCH(ROW($D$1:$D$5),ROW($D$1:$D$5)),""),COLUMNS($A$1:A1))),"")

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Determine if a cell with text contains a keyword from a list

    An ordinary formula (just enter):

    =IFERROR(LOOKUP(1000,SEARCH($F$1:$F$3,A2),$F$1:$F$3),"")

    where F1-F3 is your list of keywords and A3 is the text you are searching for those keywords.

    Next me, please read the yellow banner (top of page) and attach a sample Excel sheet, complete with a set of representative examples.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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] VLOOK Formula Only Shows the VLOOK Formula Instead of Lookup Value
    By onlyonekj in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-29-2017, 03:30 PM
  2. [SOLVED] Vlook up
    By isasa74 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2013, 05:46 AM
  3. Vlook Up
    By Merlin54k in forum Excel General
    Replies: 1
    Last Post: 02-11-2011, 01:40 PM
  4. vlook
    By dj_siek in forum Excel General
    Replies: 3
    Last Post: 04-10-2007, 12:44 AM
  5. vlook up
    By syed abbas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2007, 06:10 AM
  6. Vlook Up Help
    By nander in forum Excel General
    Replies: 1
    Last Post: 10-19-2006, 04:56 AM
  7. [SOLVED] Vlook
    By bimseun in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2006, 06:55 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