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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if and or statements 3

Status
Not open for further replies.

CFNB

Programmer
Feb 15, 2007
36
CA
Hello.

I would like to use OR in a IF statement.
The one I have right now is : =IF(A13="UNITED STATES ",A13,"")

what I would like to do is : =IF((A13="UNITED STATES " OR A13="JAPAN"),A13,"") but I get an error.

The search function is not working on this website.

Thanks.
 


=IF(OR(A13="UNITED STATES ",A13="JAPAN"),A13,"")

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 


Hi,

OR's and AND's are klunky in Excel, IMHO...
[tt]
=IF(OR(A13="UNITED STATES",A13="JAPAN"),A13,"")
[/tt]


Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top