Excel.Tips.Net Welcome toExcel.Tips.Net

Helpful Links

Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment

Tips.Net Store

ExcelTips FAQ
ExcelTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

Newest Tips

Recording a Macro

Adding a Little Animation to Your Life

Converting a Range of URLs to Hyperlinks

Making the Formula Bar Persistent

Engineering Calculations

Digital Signatures for Macros

Fixing the Decimal Point

 

Tracing Errors

Summary: Got an error in your worksheet and you need to find out what is causing it? There are a couple of ways you can trace such errors, as described in this tip. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

Suppose you have a worksheet in which there is an error (such as #VALUE! or #DIV/0! or #NUM! or any number of other errors), but you are not quite sure what caused it. As you may know, this is not that odd of an occurrence. It is possible (and sometimes common) to have a single error propagated throughout an entire worksheet. If you don't know where the error is coming from, the easiest way to find out is to follow these steps:

  1. Select one of the cells that contains an error.
  2. Choose Auditing from the Tools menu. (In Excel 2002 or Excel 2003 you choose Formula Auditing from the Tools menu.) Excel displays a submenu.
  3. Select Trace Error from the submenu.

Excel tracks down the source of the error, using red auditing arrows. You can now make your corrections and get rid of at least one error in your workbook.

Excel 2002 and Excel 2003 have another handy way you can track down errors. If a cell contains an error value, the upper-left corner of the cell will have a small green triangle in it. If you select the cell, and information tool tip appears near this green triangle. When you click on the tool tip you see a menu that includes several different helpful suggestions, including an option to Trace Error. If you choose this option, you get the same result as if you followed the steps outlined above.

You should note that you can use the Trace Error auditing tool only to track down the source of obvious error conditions, meaning those that display an error condition such as #NA or #NAME. Subtle errors, such as adding together the wrong values or using the wrong function, cannot be detected by Excel and must be tracked down manually.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3091) applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003

More Power! For some people, the prospect of creating macros can be scary. Those who conquer their fears, however, find they become much more confident and productive once they learn how to make Excel do exactly what they want. ExcelTips: The Macros is an invaluable source for learning Excel macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of ExcelTips. Learn at your own pace, exactly the way you want.
 
Check out ExcelTips: The Macros today!