cell B1 contains a word listed in cell A1

S

Stan

Is there a formula to use in order to confirm the following?

If a sentence in cell B1 contains a word in cell A1, confirm it in cell C1.
Words in column A is changing cell-by-cell.

thanks for yoru help.
 
R

Ron Rosenfeld

Is there a formula to use in order to confirm the following?

If a sentence in cell B1 contains a word in cell A1, confirm it in cell C1.
Words in column A is changing cell-by-cell.

thanks for yoru help.

Your specifications are not entirely unambiguous, but perhaps something like:

=IF(AND(LEN(A1)>0,ISNUMBER(SEARCH(A1,B1))),"Contained","Not Contained")
--ron
 

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