find information

B

Brenda

Is there a way to look in a cell and find a particular
string of data and categorize that as "TRUE" if the
string is found and "FALSE" if not?

I've tried =or(B2="*AWEN*")
but this does not return a "TRUE" result, even though the
cell B2 looks like this "TECO AWEN"

Any ideas?

TIA,
Brenda
 
P

Peo Sjoblom

Try

=ISNUMBER(FIND("AWEN",B2))

Note that find is case sensitive, you can use search if you don't want it to
be case sensitive
 
D

Dave R.

Minor point but she did ask for "true" and "false" with quotes around them.

=+TEXT(ISNUMBER(COUNTIF(B2,"*AWEN*")),)
 

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