Can this be done / how?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to make the following statement happen in a cell, but can't seem
to get the logic correct. I am not even sure that it can happen, but here is
basically what I want;

IF D2=1 AND D10=1 OR IF D3=2 AND D10=1 THEN 1 ELSE 0

If this can actually be done, what would the formula be?
 
=IF(OR(AND(D2=1,D10=1),AND(D3=2,D10=1))1,0)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
Hi

One way
=IF(AND(D10=1,OR(D2=1,D3=2)),1,0)
or, without IF()
=MIN(1,AND(D2=1,D10=1)+AND(D3=2,D10=1))

Regards

Roger Govier
 
I am trying to make the following statement happen in a cell, but can't seem
to get the logic correct. I am not even sure that it can happen, but here is
basically what I want;

IF D2=1 AND D10=1 OR IF D3=2 AND D10=1 THEN 1 ELSE 0

If this can actually be done, what would the formula be?

Try =IF(AND(D10=1)*OR(D3=2,D2=1),1,0)
 

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