Avoid Error Displays


Sometimes a formula may return an error message. Usually, you'll want to know when a formula error occurs, but occasionally you may prefer to avoid the messages. You can do so by using an IF() function to check for an error. For example, the formula =IF(ISERROR(A1/B1),"",A1/B1) displays a blank if the division results in an error. You can adapt this technique to any operation. The original formula serves as the argument for the ISERROR() function, and it repeats as the last argument of the IF() function.


Category:Spreadsheets
Issue: June 2000

These Web pages are produced by Australian PC World © 2000 IDG Communications