IF sum is GreaterThan 0... why wont this work!?

  • Thread starter Thread starter Tan.
  • Start date Start date
T

Tan.

This is what I think should work
=IF((GREATERTHAN((G56-L4-N6),0)),0,(G56-L4-N6))


But it doesn't.

If the sum is in minus figures I simply want the cell to display 0
Surely not that hard!?

Any help much appreciated.
Thanks

Tan.
 
Thanks, it did help albeit indirectly.

After a few trials and errors juggling it about I decided to do the SUM
in a seperate equasion and ended up with this which worked:

=IF(M6<=0,0,M6)

Thanks again
:)
Tan.
 
SteveG wrote...
Try this.

=IF(SUM(G56-L4-N6)<=0,0,SUM(G56-L4-N6))

Does that help?

Why use SUM? Why use IF?

=MAX(0,G56-L4-N6)

should produce the same result.
 

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

Back
Top