OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

how to not show a zero in SUM or SUMIF cell

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
sallam
Power User
Power User


Joined: 03 Mar 2007
Posts: 65

PostPosted: Sat Dec 27, 2008 3:36 am    Post subject: how to not show a zero in SUM or SUMIF cell Reply with quote

When I use SUM or SUMIF, and the result of the formula is 0, a '0' shows up in the cell.
What if I want to keep the cell blank when the sum is 0, so that it adds numbers to the cell only when the result is more than 0?
Back to top
View user's profile Send private message
RickRandom
Super User
Super User


Joined: 27 Jan 2006
Posts: 1082
Location: UK

PostPosted: Sat Dec 27, 2008 7:43 am    Post subject: Reply with quote

=IF(SUMIF(...)=0;"";SUMIF(...))

or via Tools, Options, you can set an option to not display zeros, but it applies to the whole file.
Back to top
View user's profile Send private message
sallam
Power User
Power User


Joined: 03 Mar 2007
Posts: 65

PostPosted: Sat Dec 27, 2008 2:50 pm    Post subject: Reply with quote

Many thanks RickRandom for your precise info.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group