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

IF & OR 1

Status
Not open for further replies.

CCNProjects

Technical User
Nov 4, 2005
64
0
0
CA
Hello.

I would like to point out the cell value under a certain condition: if cell A1 or cell A2 is greater than 0.001, then write the greatest value of A1 and A2 in cell A3.

=IF((A1>=0.001) OR (A2>=0.001), MAX(A1,A2),"")??????

Thanks for any hint.
 




Hi,

In Excel, OR is a FUNCTION, not an OPERATOR...
[tt]
=IF(OR((A1>=0.001),(A2>=0.001)), MAX(A1,A2),"")
[/tt]


Skip,
[sub]
[glasses]Have you heard that the roundest knight at King Arthur's round table was...
Sir Cumference![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top