IF ? lookup

J

Jerry Kinder

Hi,
Excel 2000 question
I have a Workbook with two sheets "Daily" and "Clients".

In Daily sheet col F
I want a formul in F2 that will look in col B2 and tell me if the name
in B2 is in Col A2:A200 of sheet the Clients sheet.
Example: this only gives me No. and the name in B2 is in Col A of the
Clients sheet.
IF(B2='Clients'!A1:A200,"Yes","No")

Thanks,
JK
 
R

RagDyeR

Try this:

=IF(ISNA(VLOOKUP(B2,Clients!$A$1:$A$30,1,0)),"NO","Yes")
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


Hi,
Excel 2000 question
I have a Workbook with two sheets "Daily" and "Clients".

In Daily sheet col F
I want a formul in F2 that will look in col B2 and tell me if the name
in B2 is in Col A2:A200 of sheet the Clients sheet.
Example: this only gives me No. and the name in B2 is in Col A of the
Clients sheet.
IF(B2='Clients'!A1:A200,"Yes","No")

Thanks,
JK
 
R

RagDyeR

Funny how the subject line has this power of suggestion over thought
processes.

This is perhaps a better suggestion:

=IF(COUNTIF(Clients!$A$1:$A$30,B2)>0,"Yes","No")
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


Try this:

=IF(ISNA(VLOOKUP(B2,Clients!$A$1:$A$30,1,0)),"NO","Yes")
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


Hi,
Excel 2000 question
I have a Workbook with two sheets "Daily" and "Clients".

In Daily sheet col F
I want a formul in F2 that will look in col B2 and tell me if the name
in B2 is in Col A2:A200 of sheet the Clients sheet.
Example: this only gives me No. and the name in B2 is in Col A of the
Clients sheet.
IF(B2='Clients'!A1:A200,"Yes","No")

Thanks,
JK
 
P

PeterAtherton

Jerry

Rag has answered you question but if theLaddress of the name is helpful you
can use:
=IF(ISERROR(MATCH(B2,A1:A200,0)),"No Match",address(match(b2,a1:a200,0),1))

Regards
Peter
 
J

Jerry Kinder

Hi,
Thanks it works perfect.
Jerry


PeterAtherton said:
Jerry

Rag has answered you question but if theLaddress of the name is helpful you
can use:
=IF(ISERROR(MATCH(B2,A1:A200,0)),"No Match",address(match(b2,a1:a200,0),1))

Regards
Peter
 

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