Hi Lee,
=IF(AND(A1>0,B1>0),A1+B1,"")
Regards,
OssieMac
> I'm sure this is a simple one:
>
[quoted text clipped - 7 lines]
>
> Cheers
Lee Grant - 22 Sep 2007 08:47 GMT
Excellent.
Thanks - that has done the trick!
Thank you so much!
> Hi Lee,
>
[quoted text clipped - 16 lines]
>>
>> Cheers
Sandy Mann - 22 Sep 2007 11:34 GMT
> =IF(AND(A1>0,B1>0),A1+B1,"")
If the OP will never have negative values then OK but if there is a
possibility of negatives then better to use:
=IF(COUNT(A1:B1)=2,A1+B1,"")

Signature
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk