I used a formula like
=IF(FIND("TELUS",D234)>0,C234,0)
this works fine as long as the word TELUS is in cell D234 but gives #value!
error otherwise. I would have expected 0. What should I have done instead?
Peo Sjoblom - 30 Dec 2006 07:08 GMT
Try
=IF(ISNUMBER(FIND("TELUS",D234)),C234,0)

Signature
Regards,
Peo Sjoblom
Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)
>I used a formula like
> =IF(FIND("TELUS",D234)>0,C234,0)
> this works fine as long as the word TELUS is in cell D234 but gives
> #value! error otherwise. I would have expected 0. What should I have done
> instead?
Dave Peterson - 30 Dec 2006 12:29 GMT
Another option:
=if(countif(d234,"*telus*")>0,c234,0)
> I used a formula like
> =IF(FIND("TELUS",D234)>0,C234,0)
> this works fine as long as the word TELUS is in cell D234 but gives #value!
> error otherwise. I would have expected 0. What should I have done instead?

Signature
Dave Peterson
gs - 30 Dec 2006 23:28 GMT
thank you all
countif did not work for me, but isnumber did.
I am using excel 2002 sp3
>I used a formula like
> =IF(FIND("TELUS",D234)>0,C234,0)
> this works fine as long as the word TELUS is in cell D234 but gives
> #value! error otherwise. I would have expected 0. What should I have done
> instead?
Dave Peterson - 31 Dec 2006 00:25 GMT
You may want to try it again--or post the formula that didn't work.
(It worked fine for me.)
> thank you all
>
[quoted text clipped - 6 lines]
> > #value! error otherwise. I would have expected 0. What should I have done
> > instead?

Signature
Dave Peterson