[Solved] I'm getting zeros in blank cells when I print

Discuss the spreadsheet application
Locked
Marscaleb
Posts: 27
Joined: Wed Sep 07, 2011 9:09 am

[Solved] I'm getting zeros in blank cells when I print

Post by Marscaleb »

I have a spreadsheet used for an invoice my company sends. I have several columns that automatically calculate their value according to values in other columns.

When a row is blank, the cells in these columns are blank. But when I export my sheet to a pdf to send to a client, the blank cells in these columns are now populated with zeros; tiny zeros. I tried printing, but they are still included in the print file. They do not appear in the spreadsheet when I am editing it; only when I print or export to PDF.

I did not have this behavior when I was using Microsoft Office. This looks very ugly and unprofessional. How do I disable this? I want these cells to remain blank, just as they are on my screen.
Last edited by Hagar Delest on Sat Aug 02, 2025 11:49 pm, edited 2 times in total.
Reason: tagged solved.
erbsenzahl
Volunteer
Posts: 270
Joined: Tue Apr 18, 2017 8:23 am
Location: Germany

Re: I'm getting zeros in blank cells when I print; please help

Post by erbsenzahl »

Please share an anonymized little file which contains the problem.
Give more information: Operating system? OpenOffice or LibreOffice? Version?
LibreOffice current versions 24.x/25.x/26.x and OpenOffice 4.1.16
on LinuxMint 21 - 23 Mate, W10-64 pro
User avatar
MrProgrammer
Moderator
Posts: 5468
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: I'm getting zeros in blank cells when I print; please help

Post by MrProgrammer »

Marscaleb wrote: Sat Aug 02, 2025 8:13 pm When a row is blank, the cells in these columns are blank.
I will guess that when a row on your screen appears to be empty, the cells in your columns have formulas which return the value zero. The cells are not blank and the ISBLANK() formula would return FALSE because the value is zero.

Marscaleb wrote: Sat Aug 02, 2025 8:13 pm But when I export my sheet to a pdf to send to a client, the blank cells in these columns are now populated with zeros;
Since you didn't say, I will guess you are using OpenOffice. I suspect you disabled option Zero values in Calc → View → Display, but didn't disable it in in menu Format → Page → Sheet → Print. Options are set with OpenOffice → Preferences on a Mac, Tools → Options on other platforms. The former setting controls whether zeros are displayed on your screen, the latter whether they are printed on a page.

If you need any additional assistance attach a spreadsheet demonstrating the difficulty (remove confidential information then use Post Reply, not Quick Reply, and don't attach a picture instead of the spreadsheet itself). I will not help further unless you attach a spreadsheet document.

Marscaleb wrote: Sat Aug 02, 2025 8:13 pm I did not have this behavior when I was using Microsoft Office.
OpenOffice Calc is not intended to be a clone of Microsnot Excel. If the latter better meets your needs you should use it.

If this solved your problem please go to your first post use the Edit ✏️ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.

[Tutorial] Ten concepts that every Calc user should know
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Marscaleb
Posts: 27
Joined: Wed Sep 07, 2011 9:09 am

Re: I'm getting zeros in blank cells when I print; please help

Post by Marscaleb »

MrProgrammer wrote: Sat Aug 02, 2025 9:21 pm I suspect you disabled option Zero values in Calc → View → Display but didn't disable it in in menu Format → Page → Sheet → Print. Options are set with OpenOffice → Preferences on a Mac, Tools → Options on other platforms. The former setting controls whether zeros are displayed on your screen, the latter whether they are printed on a page.
That was it! Thank you!
Locked