Hi,

If I may Toppers is right ... a clear explanation would help ...

=if(AND(F14<>0,G14<>0),H3+F13-G14),0)

This formula would perform the calculation only if both F14 and G14 are different from 0 ...

HTH
Cheers
Carim