IF Function

B

Benny

I need get results in a new cell if 2 criterias from different cella are met.
i.e
If A1= 1 or 2 or 3
and B1=1 then C1="Comp"
but if B1=0 then C1="Non-Comp"

Thanks for your help
 
L

Leo Heuser

Benny

One way.

In C1:

=IF(B1=0,"Non-Comp",IF(AND(B1=1,OR(A1={1,2,3})),"Comp","Not defined"))
 
B

Benny

Thanks, Leo.

Leo Heuser said:
Benny

One way.

In C1:

=IF(B1=0,"Non-Comp",IF(AND(B1=1,OR(A1={1,2,3})),"Comp","Not defined"))

--
Best Regards
Leo Heuser

Followup to newsgroup only please.
 

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