Hide and Display Zero in MS Excel

Published: 15 August 2022
on channel: Brain Up
2,247
68

Hide and Display Zero in MS Excel  @Brain Up 

Use a number format to hide zero values in selected cells
Select the cells that contain the zero (0) values that you want to hide.
You can press Ctrl+1, or on the Home tab, in the Cells group, click Format - Format Cells.
In the Category list, click Custom.
In the Type box, type 0;-0;;@
Display or hide zero values in Excel for Mac
If your sheet contains zero values or contains calculations that produce zero values, you can hide the values or use formatting options to change how the values will display. Excel automatically applies the general or number format to any number you enter or paste into a worksheet. These formats automatically remove leading zeros from numbers. If you want to keep leading zeros, you must create a custom number format. For more information about how to keep leading zeros, see Keep leading zeros.

Learn about several options for displaying or hiding zero values in the sections below.
Hide all zero values on a sheet
Hide zero values in selected cells
Display hidden zero values in selected cells
Hide zero values that are returned by a formula
Display zero values as blank cells or dashes
Hide zero values in a PivotTable report

3 ways to suppress zero in Excel
If you don't want to display zeros, use one of these quick and easy methods to suppress them in Microsoft Excel.
How to suppress zeros in an entire Excel sheet
The easiest method to suppress zeros is a simple setting with an all-or-nothing result, which is both a pro and a con, depending on your needs. Remember, this setting works on the entire sheet:

Click the File tab, choose Options in the left pane, and then click Advanced in the left pane.
In the Display options for this worksheet section, uncheck Show a Zero in Cells that Have Zero Value (Figure A).
Click OK to close the dialog.
How to suppress a range in Excel
You can limit the cells that suppress zero by applying a custom format. As a result, you control which cells to suppress. You get more control, but it does usurp your formatting capabilities and might require a bit of thought.

Before we continue, we need to review a custom format’s structure, or syntax:

positive; negative; zero; text

The simplest custom format that will suppress zero is:

0;0;;@

The zeros are placeholders and will display any positive or negative value. Leaving the third component, the zero component, empty is what suppresses zeros. The @ is a text placeholder, similar to the 0 placeholder. Now, let’s apply this custom format and see what happens:

Select the range you want to format. In this case that’s B3:D7.
Click the Number group’s More button (on the Home tab).
In the Category list, click Custom (at the bottom).
Enter 0;0;;@ in the Type control, as shown in Figure C.
Click OK to close the dialog.

How to suppress zero in a cell in Excel
When using an expression that might return a zero, you can wrap that expression in an IF() function to suppress a 0 result. Generally, you won’t want to do this, but to be comprehensive, you’ll want to know how to do this.

Our simple expression in column D is =B3+C3, and two of them (D5 and D7) both return 0. Select cell D3 and enter the expression

=IF(B3+C3=0,””,B3+C3)

and copy to D4:D7. Figure F shows the results; D5 and D7 are blank. The IF() function evaluates the real expression that sums the two values and returns an empty string (“”) when the result is 0. If it isn’t 0, the IF() returns the non-zero result. The big difference between this solution and the first two is that you’ll use this only with expressions, not values.

Hide Zero Values in Excel | Make Cells Blank If the Value is 0
In case you prefer reading over watching a video, below is the complete written tutorial.
Sometimes in Excel, you may want to hide zero values in your dataset and show these cells as blanks.
Suppose you have a dataset as shown below and you want to hide the value 0 in all these cells (or want to replace it with something such as a dash or the text ‘Not Available’).

Below are the steps to hide zeros from all the cells in a workbook in Excel:

Open the workbook in which you want to hide all the zeros
Click the File tab
Click on Options
In the Excel Options dialog box that opens, click on the ‘Advanced’ option in the left pane
Scroll down to the section that says ‘Display option for this worksheet’, and select the worksheet in which you want to hide the zeros.
Uncheck the ‘Show a zero in cells that have zero value’ option
Click Ok



Realated search-

hide and display zero in ms excel @brain up
hide zero values formula
display and hide zero excel
hide zero values in excel
display and hide zero in excel


Watch video Hide and Display Zero in MS Excel online without registration, duration hours minute second in high quality. This video was added by user Brain Up 15 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,24 once and liked it 6 people.