The information in this article applies to:
SUMMARYIn Microsoft Excel, you can create conditional formatting on a cell, or a range of cells, so that error values are not displayed in the cell(s). MORE INFORMATIONIn versions of Microsoft Excel earlier than Excel 97, you could not create a custom number format to hide error values returned to the cell by the cell formula. For example, if you enter the following in your worksheet:
you would get #DIV/0! returned to cell A1. You can change the formula in
cell A1 to hide the error value to the following:
With the example values given above, this formula returns the empty string
("").
Note that there are other techniques for hiding error values that you can use in versions of Microsoft Excel earlier than Microsoft Excel 97. There is a feature in Microsoft Excel 97 and later called Conditional Formatting that allows you to use the simpler of the two formulas in cell A1, and still prevent the error value from showing in cell A1. The following example steps you through the use of Conditional Formatting to hide error values returned by formulas in cells:
=ISERROR(A1) Additional query words: suppressing suppress hiding messages #DIV/0! #NAME? #NULL! xl9 XL2000
Keywords : kbdta xlformat xlformula |
Last Reviewed: July 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |