put the same tests together as in first answer then use
=large(A1:A3,1)+large(A1:A3,2)
--
robert111
------------------------------------------------------------------------
robert111's Profile:
http://www.excelforum.com/member.php...o&userid=31996
View this thread:
http://www.excelforum.com/showthread...hreadid=518167