You can customize the display of zero values ​​in a cell, or use a set of formatting standards in a table that require you to hide zero values. You can show and hide null values ​​in a variety of ways.

Hiding and showing all null values ​​in a worksheet

    Select File > Options > Additionally.

    In a group

    • Show zeros in cells that contain zero values.

Hiding null values ​​in selected cells

These steps hide null values ​​in selected cells using a number format. Hidden values ​​are displayed only in the formula bar and are not printed. If the value in one of these cells changes to non-zero, it will be displayed in the cell and the value format will be similar to the general number format.

Show hidden values.

    Select cells with hidden zero values.

    You can press the keys CTRL+1 or on the tab home click Format > Format Cells.

    To apply the default number format, select Number > General and press the button OK.

Hiding null values ​​returned by a formula

    On the tab home Conditional Formatting and select Cell Selection Rules > Equals.

    In the left field enter 0 .

    In the right field select Custom Format.

    In field Cell Format open tab Font.

    Listed Color select white color and press the button OK.

Display zeros as spaces or dashes

To solve this problem, use the IF function.

If the cell contains null values, use a formula such as this to return an empty cell:

IF(A2-A3=0;"";A2-A3)

Here's how to read the formula. If the result of the calculation (A2-A3) is "0", nothing is displayed, including "0" (this is indicated double quotes""). Otherwise, the result of calculation A2-A3 is displayed. If you need to not leave cells blank, but display something other than "0", insert a hyphen "-" or another character between double quotes.

    Select a PivotTable report.

    On the tab Analysis in a group pivot table Options and select the item Options.

    Go to the tab Markup and format

    • Changing the Display of Errors In field Format check the box For errors display

      Change the display of empty cells Check box For empty cells, display

The need to display zero values ​​(0) on sheets does not always arise. Whether formatting standards require you or your own preference to show or hide null values, there are several ways to implement all of these requirements.

    Select File > Options > Additionally.

    In a group Show options for next sheet select a sheet, and then do one of the following:

    • To display zero (0) values ​​in cells, select the checkbox Show zeros in cells that contain zero values.

      To display null values ​​as empty cells, uncheck Show zeros in cells that contain zero values.

    You can press the keys CTRL+1 or on the tab home click Format > Format Cells.

    In field Type of enter 0;-0;;@

Notes:

    Hidden values ​​only appear in the formula bar or in a cell if you are editing its content. These values ​​are not printed.

    To show the hidden values ​​again, select the cells, and then press the keys CTRL+1 or on the tab home in a group cells hover over element Format and select Cell Format. To apply the default number format, in the list Category select General. To display the date and time again, select the appropriate date and time format on the tab Number.

    Select the cell containing zero (0) value.

    On the tab home in a group Styles click the arrow next to the item Conditional Formatting, hover over the element Cell selection rules and select an option Equals.

    In the left field enter 0 .

    In the right field select Custom Format.

    In the dialog box Cell Format open tab Font.

    In field Color choose white.

To accomplish this task, use the function IF.

Example

IF function.

Hiding null values ​​in a PivotTable report

    On the tab Options in a group PivotTable Options click the arrow next to the command Options and select the item Options.

    Go to the tab Markup and format, and then do the following:

    In field Format check the box For errors display. Enter in the field the value that you want to display instead of errors. To display errors as empty cells, remove all text from the field.

    Check box For empty cells, display. Enter the value to be displayed in the field empty cells. To keep them empty, remove all text from the field. To display null values, clear this check box.

The need to display zero values ​​(0) on sheets does not always arise. Whether formatting standards require you or your own preference to show or hide null values, there are several ways to implement all of these requirements.

Show or hide all zero values ​​in a worksheet

Hiding null values ​​in selected cells using number format

These actions allow you to hide null values ​​in selected cells. If the value in one of the cells becomes non-zero, its format will be similar to the general number format.

    Select the cells that contain null values ​​(0) that you want to hide.

    You can press the keys CTRL+1 or on the tab home in a group cells click Format > Format Cells.

    In field Type of enter 0;-0;;@

Notes:

Hiding null values ​​returned by a formula using conditional formatting

    Select the cell containing zero (0) value.

    On the tab home in a group Styles click the arrow next to the button Conditional Formatting and select Cell Selection Rules > Equals.

    In the left field enter 0 .

    In the right field select Custom Format.

    In the dialog box Cell Format open tab Font.

    In field Color choose white.

Using a formula to display zeros as spaces or dashes

To accomplish this task, use the IF function.

Example

To make this example easier to understand, copy it to blank sheet.

Copying an example

    Highlight the example given in this article.

Important: Do not highlight row or column headings.

Highlight an example in help

    Press CTRL+C.

    In Excel, create a blank workbook or sheet.

    Select cell A1 on the worksheet and press CTRL+V.

Important: For the example to work correctly, it must be inserted into cell A1.

    To switch between viewing results and viewing formulas that return those results, press CTRL+` (accent sign) or on the tab Formulas in the Formula Dependencies group, click Show formulas.

By copying the example to a blank sheet, you can customize it the way you want.

For more information about using this function, see the IF function article.

Hiding null values ​​in a PivotTable report

    Click the PivotTable report.

    On the tab Options in a group PivotTable Options click the arrow next to the command Options and select the item Options.

    Go to the tab Markup and format, and then do the following:

    Changing the way errors are displayed. In field Format check the box For errors display. Enter in the field the value that you want to display instead of errors. To display errors as empty cells, remove all text from the field.

    Change how empty cells are displayed. Check box For empty cells, display. Enter in the field the value that you want to display in empty cells. To keep them empty, remove all text from the field. To display null values, clear this check box.

When using formulas in Excel, if the cells referenced by the operator are empty, there will be zeros in the calculation area by default. Aesthetically, this does not look very nice, especially if the table has a lot of similar ranges with zero values. And it is more difficult for the user to navigate the data compared to the situation if such areas would be completely empty. Let's find out in what ways you can remove the display of zero data in Excel.

Excel provides the ability to remove zeros in cells in several ways. This can be done either by using special functions or by applying formatting. It is also possible to disable the display of such data in the whole sheet.

Method 1: Excel settings

Globally, this issue can be resolved by changing the Excel settings for the current sheet. This allows you to make absolutely all cells containing zeros empty.


After these actions, all cells of the current sheet that contain zero values ​​will be displayed as empty.

Method 2: Apply formatting

You can hide the values ​​of empty cells by changing their format.


Now all areas that contain null values ​​will be empty.

Method 3: Conditional Formatting

To remove extra zeros, you can also use such a powerful tool as conditional formatting.


Now, provided that the value in the cell is zero, then it will be invisible to the user, since the color of its font will merge with the background color.

Method 4: Applying the IF Function

Another option for hiding zeros involves using the operator IF.


By the way, if in the arguments window in the field "value if true" set to a dash, then when the result is displayed in cells with a zero value, there will be not a space, but a dash.

Method 5: Using the ISNUMBER function

The following method is a kind of combination of functions IF and ISNUMBER.


Exists whole line ways to remove the number "0" in a cell if it has a value of zero. The easiest way is to disable the display of zeros in the Excel settings. But then it should be noted that they will disappear all over the sheet. If you need to apply the disable exclusively to a specific area, then range formatting, conditional formatting, and applying functions will come to the rescue. Which of these methods to choose depends already on the specific situation, as well as on the personal skills and preferences of the user.

Values ​​Displayed in Spreadsheet Cells Microsoft applications Office Excel are often formed as a result of the execution of formulas written in them. The result of calculations can also be a zero value, which is undesirable to show in a cell. Zeros do not improve the overall perception of the results, especially if the formulas in other cells of the column display text values ​​rather than numeric values. This problem can be solved in several ways.

You will need

Instruction

  • To disable the display of zero values ​​in all cells of an open sheet Excel document, use one of the settings in general settings table editor. These settings are opened through the main menu - in the 2010 version, click on the "File" button to access it, and in the 2007 version, the round Office button is intended for this. Click on the menu item "Options" (version 2010) or click the button "Excel Options" (version 2007).
  • Select the "Advanced" section in the list and scroll down the list of settings to the inscription "Show options for the next sheet." Uncheck "Show zeros in cells that contain null values" and click OK.
  • Another way allows you to hide zero values ​​not in the entire sheet, but in an arbitrarily selected group of cells. Select the desired area of ​​the table and click selection right click mice. In the pop-up menu, select the "Format Cells" line, and in the left column of the window that opens, click on bottom line- "All formats".
  • In the field under the inscription "Type" enter the following sequence of characters: "0;-0;;@" (without quotes). If the non-zero values ​​of the selection should be displayed with some number of decimal places, after each zero in this entry, add the appropriate number of zeros, separating them with a comma. For example, to set the precision to hundredths, this entry should look like this: "0.00;-0.00;;@". Then press OK and the zeros will no longer be displayed.
  • The third method does not remove zero values, but paints them in the background color of the cell and thus makes them invisible. This method uses conditional formatting - select the desired column or set of columns and click on the button with that name in the "Styles" group of commands. In the drop-down list, go to the "Cell Selection Rules" section and select the "Equals" line.
  • In the left field of the form that appears, enter zero, and in the list of the right field, select "Custom Format". The "Cell Format" dialog will open, on the "Font" tab of which you need a drop-down list below the "Color" inscription - open it and select the cell background shade in the color table (usually white). Click the OK buttons in both open dialogs and the task will be solved.
  • How to put a zero in Excel? When compiling reports in Excel, there is a need to put zeros in empty cells, or vice versa, you need to remove zero values. As they say, "the master is the master" or "any whim for your money." But it turns out that this causes a lot of difficulty for many. It all depends on the settings of the program. She either puts down zeros where necessary and not necessary, or does not put them at all. Therefore, today we will consider these two questions.

    Remove or put zeros in Microsoft Excel 2003

    To do this, go to the menu Service, and select at the bottom Options.

    The window of the same name will open. Options.

    On the tab View in the panel Window Options, in the middle column, check the box for the parameter Null values. Now all your zero values ​​in the cells will be displayed.

    In the same way it is possible remove zeros in excel. To do this, just uncheck this option, and zeros will not be displayed.

    How to put or remove zeros in Microsoft Excel 2007

    Click on the multi-colored program icon in the upper left corner.

    In the menu that opens at the very bottom, click on the button Optionsexcel.

    In the opened window Optionsexcel go to tab Additionally, and in the large window on the right, find and check the box next to the entry -.

    in Microsoft Excel 2010

    Everything is the same as in Excel 2007, only first we open the menu File, go to Options, and then - AdditionallyShow options for next sheet- remove or check the box - Show zeros in cells that contain zero values.

    The values ​​displayed in the cells of Microsoft Office Excel spreadsheets are often formed as a result of formulas written in them. The result of the calculations can also be a zero value, which is not desirable to show in the cell. Zeros do not improve the overall perception of the totals, only if in other cells of the formula column they display textual rather than numerical values. This problem can be solved by several methods.

    You will need

    Instruction

    1. In order to disable the display of zero values ​​in all cells of an open sheet of an Excel document, use one of the settings in the general settings of the spreadsheet editor. These settings are opened through the main menu - in version 2010, to access it, click on the "File" button, and in version 2007, a round Office button is provided for this. Click on the menu item "Options" (version 2010) or click the button "Excel Options" (version 2007).

    2. Select the "Advanced" section in the list and scroll the list of settings to the inscription "Show options for a further sheet." Uncheck "Show zeros in cells that contain null values" and click OK.

    3. Another method allows you to hide zero values ​​not in each sheet, but in an arbitrarily selected group of cells. Select the required area of ​​the table and click the selection with the right mouse button. In the pop-up menu, select the line "Format cells", and in the left column of the window that opens, click on the bottom line - "All formats".

    4. In the field under the inscription "Type" enter the following sequence of characters: "0;-0;;@" (without quotes). If non-zero values ​​of the selected area must be displayed with a certain number of characters after the comma, after any zero in this entry, add the appropriate number of zeros, separating them with a comma. Say, in order to set the accuracy to hundredths, this entry should look like this: “0.00;-0.00;;@”. After that, click OK, and the zeros will no longer be displayed.

    5. The 3rd method does not remove zero values, but colors them in the background color of the cell and makes them noticeable. This method uses conditional formatting - select the desired column or set of columns and click on the button with the same name in the "Genres" group of commands. In the drop-down list, go to the "Cell Selection Rules" section and select the "Equals" line.

    6. In the left field of the form that appears, enter zero, and in the list of the right field, select "Custom Format". The “Format Cells” dialog will open, on the “Font” tab of which you need a drop-down list below the “Color” inscription - open it and select the shade of the background of the cell in the color table (usually white). Click the OK buttons in both open dialogs and the task will be solved.

    Unfortunately, today, work with a computer still does not take place at the level of issuing mental orders, and the information received as a result is approximately invariably exposed in the form of texts. We spend a large part of our "computer time" reading and writing texts with the support of various kinds of applications. Consequently, the phrase "size matters" is very much in demand in relation to texts on a computer screen.

    Instruction

    1. If too big bothers you font web pages in the browser, then it is possible to reduce it by pressing the ctrl key and, without releasing it, turning the mouse wheel in the direction towards you - with this method you will change the scale of the page, including those used in it font ov. The exact same result is obtained by pressing a key with a minus sign while holding down the ctrl key.

    2. If big font you need to replace more with small in the text word document, then start by highlighting the desired fragment. If you want to reduce the size of each text, then you can use the keyboard shortcut ctrl + a to select. Later, open the drop-down list "Size font a" in the "Font" command group on the "Basic" tab and select a lower number value. It is allowed to press the key combination ctrl + shift + p instead of the drop-down list - it opens a separate window with settings font a, in which it is also allowed to change its size.

    3. If you need to reduce a large font viewing texts in Word without changing anything in the formats of the document itself, then this can be done by zooming out. In that word processor you can do this in the same way as in the browser - by rotating the mouse wheel towards yourself while holding down the ctrl key. In addition, at the bottom right of the window open document(in the "status bar") there is a slider, with the help of which it is also possible to change the scale of the document display.

    4. Get rid of too big font a used operating system for inscriptions in GUI OS, allowed by changing the screen resolution. OS Windows Vista and Windows 7, for this you need to right-click on the "wallpaper" on the desktop and select the line "Screen resolution" in the context menu. After that, click on the "Resolution" button and use the slider to set the desired value. After that, click the "Apply" button.

    Excel makes it possible to make various calculations, including analytical ones. The program allows you to create your own formulas or use built-in functions. But it is often necessary to keep the final result in a "stable" form. Or you simply do not want another user to see the formulas used for the calculations. In these cases, use save as values.

    Instruction

    1. If you need to remove formula one specific cell, place the mouse cursor on it and press the left key. In the function bar (just below the toolbars), a formula will be displayed that calculates the value in the cell.

    2. Press the right mouse button. arise context menu. Activate the “Copy” item in it, a dotted frame should appear around the cell. Right click again. In the list that appears again, select the line "Paste Special". A new window will open with insert options. With the left mouse button, select the item "values" or "values ​​and number formats". After that, click the "OK" button. You will see that in the line of functions, instead of the formula, a number-total has appeared.

    3. It is allowed to change formulas to values ​​in several cells at once. To do this, you need to select these cells in advance, and then repeat the steps described in step 2.

    4. In order to change formulas to values ​​in each row or column, you must first select the entire corresponding area. To do this, move the cursor to the top border of the sheet with the names (letters) of the columns or the left border with line numbers and place it on the desired tier so that the cursor turns into a black arrow. After that click on left button mouse and see that each row (column) is highlighted. Follow the algorithm from step 2 of this instruction.

    5. If you want to save all calculations on the worksheet as values, move the cursor to the left top corner sheet. When you see the corner square light up, press the left mouse button. As a result, each workspace will be highlighted. Repeat the sequence of steps from step 2.

    Note!
    After saving the file with “values”, you will not be able to restore the formulas that were used for calculations. Therefore, it is better, for each case, to make a copy of the initial file and save it without formulas.

    The period and comma can act as a thousands separator in numbers written in decimal format. In most English-speaking countries, a period is used as such a separator, and in Russia it is a comma. This is often associated with the need to replace dots with commas in the spreadsheet editor Microsoft Office Excel.

    You will need

    • Spreadsheet editor Microsoft Office Excel.

    Instruction

    1. If in the settings of your spreadsheet editor the point is set as a decimal separator, then you can change this in one of the sections of the Excel settings panel. To get to it, open the application menu. This can be done by pressing the Alt key, and later - the "F" button. In the Excel 2010 menu, the Options item is placed in the penultimate line of the list of commands, and in Excel 2007, the Excel Options button is located in the lower right corner of the menu.

    2. Select the "Additional" line in the left column of the settings panel and in the "Editing Options" section, find the line "Apply system separators". If there is a mark in the checkbox for this inscription, then the field “Delimiter of the integer and fractional parts” you need to edit is unthinkable. Remove it, put a comma in the text field and click the OK button to fix the metamorphosis in the editor settings.

    3. If you want to replace the semicolon in a particular cell of the spreadsheet, you can do this in several ways. First, select the required cell, then turn on its editing mode - press the F2 key or double-click this cell. Move the insertion point to a period and replace it with a comma. The same can be done not in a cell, but in the formula bar - there, one click is enough to enable the editing mode.

    4. To completely replace all dots in all spreadsheet cells with commas, use the Find and Replace dialog. To call it, there are “burning keys” Ctrl + H and the “Replace” item in the drop-down list of the “Detect and select” button - it is placed in the “editing” group of commands on the “Basic” tab.

    5. In the "Detect" field of the Find and Replace dialog, put a period, and a comma in the "Replace with" field. If using this operation only on the current sheet of the document is sufficient, click the "Replace All" button and Excel will start executing the command. To replace on all sheets of an open document, click the "Options" button, set the value "in the book" in the drop-down list near the inscription "Search" and only after that click on the "Replace All" button.

    See the formula placed in an email cell Microsoft spreadsheets Office Excel is allowed if edit mode is enabled. It is also displayed in the formula bar of the open sheet. However, sometimes it is necessary to look at the algorithm for calculating values ​​not in a single cell, but in all cells of the table. Excel provides for the possibility of replacing the display of values ​​in rows and columns with formulas that calculate them.

    You will need

    • Spreadsheet editor Microsoft Office Excel 2007 or 2010.

    Instruction

    1. Launch the spreadsheet editor, load the document into it, formulas which you care about, and open the necessary sheet in it.

    2. Go to the "Formulas" tab in the menu Microsoft Excel. The button you need is placed in the Formula Dependencies group of commands, but no inscription is displayed on it, and it is not so primitive to identify the purpose from the picture. Focus on the inscription "Influencing cells" - the necessary icon is located to the right, and when you hover over it with the mouse pointer, a hint pops up with the heading "Show formulas” and a short explanation of the purpose. Click this button and Excel will replace the values ​​with formulas in those cells where these formulas are available. This will change the formatting of all columns - they will become much wider.

    3. To return the table to its original form, click on the same icon a second time. It is allowed to try instead of a button to turn on and off the display mode of formulas, use a combination of service Ctrl keys and keys with a tilde ~ (in the Russian layout - the letter E). The Microsoft reference materials state that this combination should work, but this is not always the case.

    4. If you do not need a one-time inclusion, but the continuous display of formulas instead of values ​​in the current sheet or in each document, change the corresponding setting in the spreadsheet editor settings. To do this, first in the main menu of the application, select the "Options" item (Excel 2010) or click on the "Excel Options" button (Excel 2007).

    5. In the column listing the sections, select the line "Additional", and then scroll the long list of settings to half. A little below the middle there is a segment called "Show options for further sheet." Select the desired sheet or each document in the drop-down list next to this inscription, and then put a checkmark in the "Show formulas, not their meanings. Click OK and formulas appear in the cells of the spreadsheet.