+ Reply to Thread
Results 1 to 13 of 13

Searching for multiple words in a cell

Hybrid View

  1. #1
    Registered User
    Join Date
    05-02-2011
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Searching for multiple words in a cell

    Wonderful -it works perfectly! Thank you once again!

    One last question - how can I make it not make up plural forms ie: only Power, not Powers; or organ, not organization; or just US rather than USSC?

    Many thanks!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Searching for multiple words in a cell

    Do you mean you don't want it to pick up Power when the sentence contains Powers?

    If so, try:

    =SUBSTITUTE(SUBSTITUTE(TRIM(ACONCAT(IF(ISNUMBER(FIND(" "&KeyWords&" "," "&SUBSTITUTE(SUBSTITUTE(B2,".",""),",","")&" ")),SUBSTITUTE(KeyWords," ","^^"),"")," "))," ",", "),"^^"," ")
    CSE confirmed

    But note, that if you have words that have a symbol next to them like for example in this sentence: I am the best (President) of all time. Then it would not pick up President because it has a bracket before and/or after... I have used SUBSTITUTE functions to replace periods and commas, you can add more for the brackets, but there could be other symbols, like semi colons or colons, or exclamation points, or question marks, etc....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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