+ Reply to Thread
Results 1 to 7 of 7

Search 2 words in one sentance + Identify them

Hybrid View

  1. #1
    Registered User
    Join Date
    08-31-2016
    Location
    France
    MS-Off Ver
    2010
    Posts
    8

    Search 2 words in one sentance + Identify them

    Hello everybody, I'm French and it's my first time in this forum.

    I've one problem, I'm going to try explain it to you :




    My sentance it's on cell B.


    =>>> I would like identify two animal in my sentance according to a little board "possible animals". According to the order of reading of this sentance, i would like rewrite both animals in cells un Anim1 and Anim2

    Aide for eng.xlsx


    I've write in target cells for an exemple but columns E and F are normaly empty...

    I'm sory because i'm not very fluent in english but I improve myself over time.

    I can answer in your question if you have it.

    Thanks a lot.

    AllanHub

  2. #2
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: Search 2 words in one sentance + Identify them

    if you're ok if they are not in the right order
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-31-2016
    Location
    France
    MS-Off Ver
    2010
    Posts
    8

    Re: Search 2 words in one sentance + Identify them

    Hello Alan,

    I'm grateful for your work ! I'm so sory but my target it's to get the name in right order Do you have an other idea ?

    Thanks a lot !!

    AllanHub

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,993

    Re: Search 2 words in one sentance + Identify them

    Try

    E9=INDEX($K$6:$K$9,AGGREGATE(15,6,ROW($K$6:$K$9)-ROW($K$5)/(ISNUMBER(SEARCH($K$6:$K$9,$B3))),COLUMNS($E3:E3))) and drag towards the cell and down!!!
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Search 2 words in one sentance + Identify them

    E3
    =if(columns($e3:e3)>sumproduct(countif($b3,"*"&$k$6:$k$9&"*")),"",index($k$6:$k$9,match(small(index(search($k$6:$k$9,$b3&""&$k$6:$k$9),0),columns($e3:e3)),index(search($k$6:$k$9,$b3&""&$k$6:$k$9),0),0)))
    try this and copy across
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: Search 2 words in one sentance + Identify them

    this works with your sample data
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-31-2016
    Location
    France
    MS-Off Ver
    2010
    Posts
    8

    Re: Search 2 words in one sentance + Identify them

    Hi everybody !

    Lot of solutions work !! Thank you so much ! I'm grateful for your work

    "Bravo"

    AllanHub

+ 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: 1
    Last Post: 06-14-2016, 06:21 PM
  2. Replies: 15
    Last Post: 10-12-2014, 08:53 AM
  3. Replies: 6
    Last Post: 10-19-2012, 05:19 AM
  4. Replies: 10
    Last Post: 04-10-2012, 06:37 PM
  5. Replies: 1
    Last Post: 04-04-2012, 07:15 PM
  6. Formula to identify key words
    By maacmaac in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2007, 01:02 PM
  7. Identify and count words
    By Doman in forum Excel General
    Replies: 0
    Last Post: 07-24-2006, 08:16 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