+ Reply to Thread
Results 1 to 3 of 3

Using VLOOKUP to find a specific word in a phrase and return a value

  1. #1
    Registered User
    Join Date
    05-18-2016
    Location
    miami,fl
    MS-Off Ver
    Office Professional Plus 2013
    Posts
    1

    Using VLOOKUP to find a specific word in a phrase and return a value

    Hello

    On sheet 1 column A I have the below text

    Apples are great
    Best grapes ever
    Give me a strawberry

    On Sheet 2 column A I have
    Apple
    Grape
    Strawberry

    Column B has a number value for each one
    1
    2
    3

    How do I use VLookup (along with any other functions) to search for the specific word in each phrase (of sheet 1 column a) and return the number value on column B sheet 1 for the word that it finds.

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Using VLOOKUP to find a specific word in a phrase and return a value

    Hello!

    Try this:

    Please Login or Register  to view this content.
    If I have solved your question, please mark the thread as [SOLVED],
    And consider adding reputation

    ?Simplicity is the ultimate sophistication? (Leonardo Da Vinci)

    Regards,
    F?bio Gatti

    https://www.youtube.com/pulodogatti
    https://www.linkedin.com/in/fabiocgatti/
    https://instagram.com/pulodogatti

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Using VLOOKUP to find a specific word in a phrase and return a value

    Like this...

    Data Range
    A
    B
    C
    D
    E
    F
    1
    Apples are great
    1
    Apple
    1
    2
    Best grapes ever
    2
    Grape
    2
    3
    Give me a strawberry
    3
    Strawberry
    3
    4
    ------
    ------
    ------
    ------
    ------
    ------


    This formula entered in B1 and copied down:

    =IFERROR(LOOKUP(1E100,SEARCH(E$1:E$3,A1),F$1:F$3),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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 a Specific word and return the number 2 below it.
    By sungen99 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-01-2016, 10:07 AM
  2. [SOLVED] Help with macro to find a specific word and replace the entire cell with the return word.
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 08-24-2015, 09:40 PM
  3. Change the color of a specific word or a phrase in a range
    By Taisir in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-04-2015, 08:08 AM
  4. Looking for a specific word or phrase and counting how often it occurs
    By bobondi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2014, 08:10 AM
  5. [SOLVED] Find Text - Key Word or Phrase Between Dates
    By mycon73 in forum Excel General
    Replies: 8
    Last Post: 10-15-2014, 02:53 PM
  6. If Vlookup finds result, return specific "Phrase"
    By rwmeis in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-21-2013, 08:43 AM
  7. IF formula to find a word but Not find a certain phrase
    By byrdjulie in forum Excel General
    Replies: 2
    Last Post: 02-03-2011, 05:18 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