Spreadsheet 123 Use of ISERROR function in Excel

Modifying Excel's Error Messages

If you've ever tried to set up a formula to divide in Excel before you've entered the data, you've probably seen this error:


#DIV/0!


Not only is it a fairly cryptic error message, its also an extremely ugly thing to see in a worksheet. The ISERROR function can remedy that.


The ISERROR function works by essentially allowing you to write your own custom error message in the ISERROR function.


In the case of the divide by zero error, there could be any number of legitimate reasons that cause the error. For example, you may be setting up a template, or perhaps you're setting up a formula that requires information from each day of the month before it can be completed. Whatever the reason, the way Excel displays errors often lacks finesse.


So, to change the divide by zero error message we can use ISERROR in conjunction with the IF function. Assuming we are trying to divide cell A1 by cell B1, the ISERROR function will look like this:


=IF(ISERROR(SUM A1/B1)), "Insufficient Data", (SUM A1/B1))


What this is saying is, if dividing cell A1 by cell B1 causes an error (any error at all), then put the phrase "Insufficient Data" into this cell, otherwise put the result of the function (SUM A1/B1) into this cell.


ISERROR works to modify all errors including #DIV/0!, #VALUE!, etc. ISERROR can be used in conjunction with any Excel function to modify error messages so that they look more "user friendly".


More Formulas and Functions in Excel 97/2000/2002XP/2003/2007

What Is An IS Function?
Ever wondered how to use the IS functions in Excel? This article explains how to use IS and IF functions.

Excel Printing
Find out how to prepare your excel worksheet for printing and how to print large spreadsheets in Excel.

Merging Cells in Excel
See how to make your worksheets more "readable" by merging cells.

Excel 97/2000/2002XP/2003/2007 Full Tutorials
If you are interested in more advanced formulas and functionalities of Excel 97/2000/2002XP/2003/2007 Click on the link above

Suggested Reading

Spreadsheet News



Forum


Meet advanced users of MS Excel and Spreadsheet and do not be shy to ask your question.


Book Shop


Visit our busy book shop, were you can find latest books for beginners as well as advanced users of excel and similar programs.



Software Library




Excel & Spreadsheet
Online Tutorials




Spreadsheet123
Home | About Us | Our Services | Software | Spreadsheets Library | Excel Tutorials | Useful Links | Site Map | Contact Us
Bookmark this PageBookmark this Page
Home
About Us

Book Shop

Excel
Excel Tutorials
Financial Modelling
Excel Templates

Excel Tutorials

Excel Basic Tutorial
Excel Tech on Net
MS Excel Tutorials and Projects
MS Excel Spreadsheet Tutorial
How to Decide What Chart Type to Use
How To Merge Cells in Excel
Excel - Printing Effectively from Excel
Using Excel Functions and Creating Formulas

Spreadsheets Library

Corporate finance spreadsheets
Valuation Inputs Spreadsheets
Big-picture valuation spreadsheets
Focused valuation spreadsheets
Financial Service firms
Troubled firms
Private companies
Young and high-growth firms
Multiples
Valuation in Acquisitions
Valuation of other assets
Value Enhancement Spreadsheets
Basic option pricing models
Real option models in corporate finance
Real option models in valuation
Hotel & Restaurant Management Spreadsheets
Real Estate & Mortgage Excel Spreadsheets
Excel Personal Budget Spreadsheets
More Spreadsheets

Software Library

Accounting Software
Small Business Software
Tax Calculating Software
Auditing Software
Excel Add-Ins
Property Management Software
Payroll Software
Spreadsheet Software

Contact Us
Useful Links
Our Services
Site Map