XL: How to Suppress Error Values on a WorksheetLast reviewed: February 2, 1998Article ID: Q87299 |
The information in this article applies to:
SUMMARYIn Microsoft Excel, you can prevent error values (such as #N/A, #VALUE!, #REF!, and #NUM!) from being displayed.
MORE INFORMATIONTo suppress error values, use either of the following methods:
Method 1Use the following IF statement
=IF(ISERROR(<formula>),"",<formula>)where <formula> is the formula for which you want to suppress the error value. If <formula> returns an error, this statement returns "" (a null character), otherwise it returns the result of <formula>. NOTE: There is no space between the quotation marks.
Method 2Use a combination of colors and custom formats to "hide" the error value. To make error values invisible, use the background color for everything in the selected cells except numbers. If you are using Microsoft Excel version 5.0 or 7.0, follow these steps:
REFERENCESFor more information about creating custom number formats in Microsoft Excel version 7.0, click Answer Wizard on the Help menu, and type the following:
custom number formats"Microsoft Excel User's Guide 1," version 4.0, pages 220-227 "Microsoft Excel User's Guide," version 3.0, pages 184, 188-193
|
Additional query words: 1.50 2.20 3.00 4.00 5.00 7.00 hiding messages
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |