Suppress Visibility of Field If Contents = Zero

S

Sam Elowitch

Is there a way to make a cell display nothing if its contents are equal to,
say, zero?

-Sam
 
J

JE McGimpsey

Sam Elowitch said:
Is there a way to make a cell display nothing if its contents are equal to,
say, zero?

-Sam

One way:

Format/Cell/Number/Custom General;General;;@

XL's number format has four fields. By default, the first is used for
positive numbers, the second for negative numbers, the third for zero
and the fourth for text. By leaving the third field blank, nothing will
display if the value is zero.

Another:

Choose Format/Conditional formatting...

CF1: Value is equal to 0
Format: Font the same color as the background.
 
N

Neill Massello

Sam Elowitch said:
Is there a way to make a cell display nothing if its contents are equal to,
say, zero?

Uncheck "Zero values" in the View pane of Excel's Preferences dialog.
This setting is not application-wide but only for the current worksheet.
 

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

Top