View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Alogon Alogon is offline
external usenet poster
 
Posts: 6
Default If result of formula is zero disgard it?

Try the below formula in S5:

=If(SUM(P5+Q5)-R5=0;SUM(P5+Q5)-R5;0)

Nathan

"Daniel0511" wrote:

I have a spreadhseet for setting up a reserve?

In cell S5 I have the below formula

=SUM(P5+Q5)-R5

if R5 is greater than (P5+Q5) I obviously get a negative which in turn
screws up my next formula.

How do I get S5 to present a zero if formula result is a negative..?