Not displaying 0 in formula cell

  • Thread starter Thread starter Kevin O`Brien
  • Start date Start date
K

Kevin O`Brien

I have a column of cells which all contain the same formula:
eg. =C20-(C20/1.175)

As this is a currency cell, even if there is calculation can be done on it
yet because there are no values in the cells required, it displays £0.00

Is it possible for this cell to be blank in this case?
 
Thanks, it works, but when I do a print preview it still tries to print of
the extra cells even though they are blank.
 
As this must arise from C20 being 0, try

=IF(C20=0,"",C20-(C20/1.175))

or use conditional formatting to set the font colour to white on a zero
value

or even use a csutom format of

$#,##0.00;-$#,##0.00;""

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Yes, I actually did use:
=IF(C20="","",C20-(C20/1.175))

However, as I have just replied to the previous posts message when I do a
print preview it still tries to print the extra cells even though they are
blank.


Bob Phillips said:
As this must arise from C20 being 0, try

=IF(C20=0,"",C20-(C20/1.175))

or use conditional formatting to set the font colour to white on a zero
value

or even use a csutom format of

$#,##0.00;-$#,##0.00;""

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Kevin, the cells may be blank but they're not empty. That's why Excel wants
to print them.
Select the range you want to print, then File > Print Area > Set Print Area.

--
DDM
"DDM's Microsoft Office Tips and Tricks"
Visit us at www.ddmcomputing.com


Kevin O`Brien said:
Yes, I actually did use:
=IF(C20="","",C20-(C20/1.175))

However, as I have just replied to the previous posts message when I do a
print preview it still tries to print the extra cells even though they are
blank.
 
Great, thanks very much.

DDM said:
Kevin, the cells may be blank but they're not empty. That's why Excel wants
to print them.
Select the range you want to print, then File > Print Area > Set Print Area.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top