Find using IF

S

Sri

Hi,

I have all the product names in Column A, i want to search for a particular
value in that list using, IF condition something...
=IF(A1:A10="ProdA","Found","Not Found")

I know, look up formulas will help me, but is it possible to do it using IF
probably as a array ?
 
D

Dave Peterson

So ProdA can appear in any of those cells (any one or all 10?)

=if(countif(a1:a10,"proda")>0,"Found","not found")
 
B

Bob Phillips

=IF(ISNUMBER(MATCH("ProdA",A1:A10,0)),"Found","Not Found")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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