Logical statement for 'contains' ?

S

Singh

Is there a logical statement to return 'True' if one cell contains the
contents of another (and maybe more).

E.g.
Cell 1 = 12345
Cell 2 = 123456789
Cell 3 = 987654321

Logical statement would return true for cell 1 against 2, but not for cell 1
against 3.

Thanks.
 
D

Don Guillett

Where j5 is what you seek

=IF(ISERR(FIND($J$5,J6)),"no","yes") yes
=IF(ISERR(FIND($J$5,J7)),"no","yes") no
 

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