+ Reply to Thread
Results 1 to 10 of 10

Find Word in text string - reproduce it in another cell

  1. #1
    Registered User
    Join Date
    02-05-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Find Word in text string - reproduce it in another cell

    I have been using =SUMPRODUCT(--(ISNUMBER(SEARCH(Sheet2!A1:A81,Sheet3!A1))))>0 to search a list of words on sheet2 and search through a text string to return a truth value dependent on whether or not the word was found in the text string. What can I add so that, once this word is found, it is then copied (on its own) to a seperate cell.

    Any help on this would be greatly apprciated.

    Thanks

    Pinkgold

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find Word in text string - reproduce it in another cell

    Pinkgold,

    Give this a try:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    02-05-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Find Word in text string - reproduce it in another cell

    Thanks for the help, I've tried that, and its returning nothing at all. I must admit, its beyond me tbh. The text string is in A1 Sheet 2. Any ideas?

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find Word in text string - reproduce it in another cell

    In your original formula, you have the text string in Sheet3!A1 and the text to search for is listed in Sheet2!A1:A81, so I was going off of that information.

    Change Sheet2!$A$1:$A$81 (both instances) to the sheet and cell range containing the text to look for
    Change Sheet3!A1 to be Sheet2!A1 since that is where you've stated the text string is.

  5. #5
    Registered User
    Join Date
    02-05-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Find Word in text string - reproduce it in another cell

    Sorry I misquoted there .... it is indeed located at A1 of Sheet 3. Apologise. Still nothing returned ..

  6. #6
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find Word in text string - reproduce it in another cell

    In that case it's probably time for an example workbook.

  7. #7
    Registered User
    Join Date
    02-05-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Find Word in text string - reproduce it in another cell

    Here you go. Thanks again for the help!


    Example Workbook.xlsx

  8. #8
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find Word in text string - reproduce it in another cell

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    02-05-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Find Word in text string - reproduce it in another cell

    Wow, sorry! Thank you so much!!!

  10. #10
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find Word in text string - reproduce it in another cell

    You're very welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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