Try:
IF(AND(L34=0,F34=0),F35-L35, IF(F34=0,L34+F35,L35-F35)).
HTH
--
Casey
------------------------------------------------------------------------
Casey's Profile:
http://www.excelforum.com/member.php...fo&userid=4545
View this thread:
http://www.excelforum.com/showthread...hreadid=559402