Excel help. Findin...
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

[Closed] Excel help. Finding specific words in cells?

3 Posts
4 Users
0 Reactions
42 Views
 benz
Posts: 1143
Free Member
Topic starter
 

I have a column with descriptions within cells.

I would like to identify where the description includes specific words - e.g. does cell contain and of the following words:

Tom, Dick or Harry

I have used = ISNUMBER(search("Tom", A2)) but that would only return where Tom exists. What do I need to do to return where cell contains either of Tom, Dick or Harry?

Thanks!


 
Posted : 08/06/2015 7:58 am
Posts: 8699
Full Member
 

=ISNUMBER(MATCH(TRUE,ISNUMBER(SEARCH({"tom","dick","harry"},A2)),0))


 
Posted : 08/06/2015 9:34 am
Posts: 23296
Free Member
 

http://www.techonthenet.com/excel/formulas/find.php


 
Posted : 08/06/2015 9:36 am
Posts: 0
Free Member
 

Maybe useful to know that using "Mid" on the difference between your number and a "Find" (starting from your number) on the next occurrence of SPACE will pull those found words out for you.

But thats probably where you are going with this anyway


 
Posted : 08/06/2015 10:05 am