FIND formula help needed

C

Carole O

Excel 2000

The formula =IF((FIND("Overall",B2)),"Y","N") produces a Y if the word
Overall appears in column B, but instead of an N if it doesn't, a #VALUE!
appears. I've tried "", false and leaving it out - but the #VALUE! always
appears.

Any ideas?

CaroleO
 
B

Bob Phillips

=IF(ISNUMBER(FIND("Overall",B2)),"Y","N")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
B

bpeltzer

You can embed an ISERROR test within the IF:
=IF(ISERROR(FIND("Overall",B2)),"N","Y")
 
S

Stephen

Carole O said:
Excel 2000

The formula =IF((FIND("Overall",B2)),"Y","N") produces a Y if the word
Overall appears in column B, but instead of an N if it doesn't, a #VALUE!
appears. I've tried "", false and leaving it out - but the #VALUE! always
appears.

Any ideas?

CaroleO

FIND("Overall",B2) returns a number (that is the position of "Overall" in
whatever text is in B2), not true/false. So what you need is:
=IF((ISNUMBER(FIND("Overall",B2))),"Y","N")
 
J

JLGWhiz

You are using the wrong function for what you are trying to do. The FIND
function is to find a string within a string, not to search columns.
 
C

Carole O

Thank you all for responding so quickly. bpeltzer's solution worked like a
charm!

CaroleO
 

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