If result of formula is zero disgard it?

D

Daniel0511

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..?
 
P

Peter T

Most users will probably need to replace those semicolons with commas

here's another one (not sure why SUM was needed)

=IF(P5+Q5-R5<0,0,P5+Q5-R5)

Regards,
Peter T
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top