Try:
=IF(AND(A1B2,A11),A1,IF(AND(B2A1,B21),B2,0))
Returns 0 if neither cell is greater than the other or are less than
1.
HTH
--
Casey
------------------------------------------------------------------------
Casey's Profile:
http://www.excelforum.com/member.php...fo&userid=4545
View this thread:
http://www.excelforum.com/showthread...hreadid=550075