+ Reply to Thread
Results 1 to 4 of 4

Find Text and get result

  1. #1
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Find Text and get result

    Hi All,

    I need help in getting a excel formula to find words from a list of keywords which are in a free text cell. I want this formula to return the value as the keyword found in the text instead of just True or False.

    in Column A i have Free Text, and in Col F I have keywords, In Col B and C I want text results upto two levels. for Example If in col A I have Text as "I work for a company" then in Col B it should show "Work" and in Col C it should show "Company"

    (Sorry I am not able to upload a test sheet, below is the data I have in sheet)

    Column A
    Free Text
    My name is Rob
    I work for a company
    I work as an advisor


    Column B
    Result 1
    Name
    Work
    Work


    Column C
    Result 2
    NA
    Company
    Advisor


    Column F
    List of Keywords
    Name
    Work
    Company
    Advisor

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,695

    Re: Find Text and get result

    If you put the actual keywords in B1:E1, then you can use this formula in B2:

    =IF($A2="","",IF(ISNUMBER(SEARCH(B$1,$A2)),B$1,""))

    then copy across and down.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Re: Find Text and get result

    Hi Pete,

    Thanks for your reply, but my Keywords has to be listed vertically and I cannot put it horizontally as I might have 100s of keywords. Is there a way out..?

  4. #4
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Re: Find Text and get result

    Hi Pete,

    Thanks for your reply, but my Keywords has to be listed vertically and I cannot put it horizontally as I might have 100s of keywords. Is there a way out..?

+ 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. Find Specific Text as result of formula
    By greenjl7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2016, 10:21 AM
  2. Find word within text that matches range and Vlookup the result
    By snakeCZ in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-19-2015, 04:28 AM
  3. [SOLVED] finding a result of a specific text base on the next day result
    By top00001 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 10-15-2014, 02:01 AM
  4. Convert a formula result to text so another formula can find that result
    By rwoollams in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-12-2014, 01:49 AM
  5. [SOLVED] Find a result from "WEEKNUMBER" and text
    By y_not in forum Excel General
    Replies: 4
    Last Post: 02-11-2014, 09:23 AM
  6. Replies: 4
    Last Post: 12-20-2012, 04:33 AM
  7. Find text and define ranges on its result
    By ProHunter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2011, 11:58 AM

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