Double IF - is this possible

  • Thread starter Thread starter Alan Davies
  • Start date Start date
A

Alan Davies

How do i create an IT Statement that is a bit like
=IF(j3="ABCD"or"EFGH",1,0)

The cell j3 can contain a number of differnt variants of what i am trying to
count in this statment

TIA
 
Hi Alan,

Maybe you can use something like this:

=IF(OR(J3="ABCD",J3="EFGH"),1,0)

Regards,
Bondi
 
=IF(OR(J3={"ABCD","EFGH"}),1,0)

or

=--OR(J3={"ABCD","EFGH"})


--
HTH

Bob Phillips

(remove xxx from email address 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

Back
Top