+ Reply to Thread
Results 1 to 5 of 5

Selecting a name from list that comes in a sentence

  1. #1
    Registered User
    Join Date
    02-01-2018
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    18

    Question Selecting a name from list that comes in a sentence

    Hi Everyone,


    Capture.PNG


    In the above image, there is a list of fruits and names.

    If i enter the text as Ramu is eating Orange, under the cell Who, i need the output as Ramu and under the cell what, i need Orange.

    Is there any formula for this or any vba macros available.


    Thanks,
    Prabhu P

  2. #2
    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,129

    Re: Selecting a name from list that comes in a sentence

    Use this:

    =IFERROR(LOOKUP(1000,SEARCH(C$7:C$10,$G6),C$7:C$10),"")

    see sheet for context.
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    02-01-2018
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    18

    Thumbs up Re: Selecting a name from list that comes in a sentence

    Hi Glenn,

    that worked... thank you lots...

    may i know why you have used the value 1000 in LOOKUP function.
    Last edited by prabhu04; 02-01-2018 at 10:46 AM.

  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,129

    Re: Selecting a name from list that comes in a sentence

    No reason. Its just a big number.

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  5. #5
    Registered User
    Join Date
    02-01-2018
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    18

    Re: Selecting a name from list that comes in a sentence

    oh ok... thank you again..

+ 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. Replies: 3
    Last Post: 02-07-2016, 03:58 AM
  2. Replies: 3
    Last Post: 11-29-2014, 07:30 AM
  3. [SOLVED] Look for a list of strings in sentence and if found, return a value
    By chemisiq in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-25-2013, 08:14 AM
  4. Replies: 1
    Last Post: 09-13-2012, 03:46 PM
  5. Selecting particular text from sentence
    By murarihyd in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-30-2010, 01:36 PM
  6. Replies: 6
    Last Post: 06-05-2009, 12:03 PM
  7. How to create list on another tab by selecting qty from big list?
    By Rob in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-29-2005, 01:05 PM

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