Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index

At 18:55 28/01/2015 +0000, Mary Sandlin wrote:
Just got LibreOffice and have a problem. Have been using excel for many years and now using calc. My problem is keeping the formula from printing a zero in my spreadsheet. I use this for my invoices and when a line with a formula is not used (no entry) the result prints as a zero. How can I keep the zeros from printing?

You can suppress the *display* of zeroes by unticking Tools | Options... | LibreOffice Calc | View | Display | Zero values, but this change does not seem to carry over into the printed result, so won't help you. One way I can see is the obvious one: to construct your formulae appropriately.

If there is no entry, say, in A6 and you want a related formula not to show zero, you need to change
to something like
as appropriate.

But here's another idea. You can create formats that handle different ranges of values differently. To get the idea, go to Format | Cells... | Numbers | Currency and look at the formats as expressed in the "Format code" box. (You may well be using currency formats for invoices anyway.) You should find that at least some of the formats have different expressions for positive and negative values, separated by a semicolon. If you add another semicolon at the end, you can also set a format for zero values, and if you use # or "" for this extra format, zero values will display as nothing. Such changes will carry across into the printed output, of course.

I trust this helps.

Brian Barker

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.