@JohnSUN: nice and elegant - worth an answer on its own!
tohuwawohu ( 2012-08-16 21:38:07 +0200 )editFirst time here? Check out the FAQ!
Straightforward solution - just use the IF function. Assuming A1:A10 are the summands:
=IF(SUM(A1:A10) < 0;0;SUM(A1:A10))
If your calc settings require commata as argument separators, use:
=IF(SUM(A1:A10) < 0,0,SUM(A1:A10))
@JohnSUN: nice and elegant - worth an answer on its own!
tohuwawohu ( 2012-08-16 21:38:07 +0200 )editThank you very much. This was perfect.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-08-16 17:03:06 +0200
Seen: 157 times
Last updated: Aug 16 '12
A calc sheet created before 3.6.5.2 only shows formulas instead of results after formula edit
Displaying formulas from horizontal block of cells to vertical block of cells
How do I delete spreadsheets from 'open' box on menu page
where is landscape setting in calc
How Do you Colour Cells on Calc
How to hide page margins in Calc
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.