Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel IF statement and Logic functions 1

Status
Not open for further replies.

as47

MIS
Feb 12, 2003
11
US
How can I do something like this (correctly). . .

=if((b2=1 and c2=2),"Yes","No")

I am trying to use logic in the first argument of the IF statment.

Thanks, AS47
 
Your formula should be:
=if(and(b2=1;c2=2),"Yes","No")
 
Excellent! Thanks SO much! It worked like a charm!
(I replaced the semicolon w/ a comma.)

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top