Find a cell's content in another cell but only as whole word(s)

P

Paul

cell text
a1 adam takes a walk
b1 dam take
b2 adam takes

What should I use in c1 and c2 to determine that b2 is within a1 as whole
words(TRUE) but b1 is not within a1 as whole words(FALSE)?
 
R

Roger Govier

Hi Paul

I haven't done exhaustive testing, but this seems to return the result you
want
=IF(ISERROR(EXACT(FIND(B2&" ",$B$1),FIND($B$1,$B$1))),FALSE,TRUE)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top