String Comparison

D

Dan

Is it possible to compare a string in a cell against a
specified string; similar to c5="somestring" ?? Is there
any variable conversion necessary?? The EXACT function
only seems to compare two cell values, but will not
correctly compare against a specified input.
Thanks
 
P

Peo Sjoblom

=ISNUMBER(FIND("somestring",C5))

if you are talking about comparing if C5 contains a specific string
regardless
if it is only a part of C5
 
J

Jason Morin

With "apple" in A1 (no quotes):

=EXACT(A1,"apple")

equals TRUE.

=A1="apple"

also yields TRUE.

HTH
Jason
Atlanta, GA
 

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