Return 0 when a value of a cell is negative

Posted by Robert on Stack Overflow See other posts from Stack Overflow or by Robert
Published on 2010-05-22T20:01:51Z Indexed on 2010/05/22 20:10 UTC
Read the original article Hit count: 106

Filed under:
|

I have a google spreadsheet that uses this function:

=SUM(E:E) - SUM(C:C)

It adds up all the values of column E and column C and them subtracts the difference. I would like to be able to return a 0 if the difference is negative.

© Stack Overflow or respective owner

Related posts about google

Related posts about google-spreadsheet