» Avoiding Error Displays when Formulas Return Result Calculations
CATEGORY - Working with Formulas
VERSION - All Microsoft Excel Versions
1. In cell A1, type the number 100.
2. In cell B1, type the formula =A1/A2. The calculation returns an error #DIV/0!, which occurs when trying to divide a number in a cell by 0 (A2).
3. To avoid displaying this error in a cell, in cell C1, enter the formula =ISERROR(B1). The formula returns the result TRUE. That is, cell B1 contains an error in the calculation of the formula (the ISERROR formula is located in the Information category in the Paste Function dialog box).
4. In cell D1, enter an IF formula =IF(C1,0,B1).
5. Combine the formulas into one nested formula by copying the formula (without the = sign) from cell C1, and pasting it into cell D1 (see tip # 196).
6. From cell B1, copy the formula (without the = sign), and paste it twice.
The result is one nested formula: =IF(ISERROR(A1/A2),0,A1/A2).

Book Store:
Recommended Books:
- Excel 2002 For Dummies®
- Windows XP for Dummies
- Millionaire Real Estate Mentor : The Secrets of Financial Freedom through Real Estate Investing
- Treason: Liberal Treachery from the Cold War to the War on Terrorism
- Investing for Dummies, Third Edition
- How to Use Financial Statements: A Guide to Understanding the Numbers
No comments have been submitted.

