<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><!-- InstanceBegin template="/Templates/book_pages_template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Microsoft Excel Tips / Excel Tutorial / Excel Spreadsheet Help / Excel Tip .com</title>
<!-- InstanceEndEditable --> 
<style><!--
.MsoBodyText
	{text-align:justify;
	line-height:14.0pt;
	font-size:10.0pt;
	font-family:Arial;
	letter-spacing:.25pt;}
.MsoBodyTextIndent
	{text-align:justify;
	line-height:14.0pt;
	font-size:10.0pt;
	font-family:Arial;
	letter-spacing:.25pt;
	font-weight:bold;}
.MsoBodyText2
	{text-align:justify;
	line-height:14.0pt;
	font-size:10.0pt;
	font-family:Arial;
	letter-spacing:.25pt;}
.listnumber
	{text-align:justify;
	line-height:14.0pt;
	font-size:10.0pt;
	font-family:Arial;
	letter-spacing:.25pt;}
.problemsolution
	{line-height:14.0pt;
	font-size:12.0pt;
	font-family:Arial;
	color:#636363;
	letter-spacing:.25pt;
	text-shadow:auto;
	font-weight:bold;}
.Chapter
	{text-align:center;
	font-size:20.0pt;
	font-family:Arial;
	letter-spacing:.25pt;
	text-shadow:auto;
	font-weight:bold;}
.HeaderEven
	{line-height:14.0pt;
	tab-stops:center 207.65pt right 415.3pt;
	font-size:10.0pt;
	font-family:Arial;
	letter-spacing:.25pt;}
.HeaderOdd
	{text-align:justify;
	line-height:14.0pt;
	tab-stops:center 207.65pt right 415.3pt;
	font-size:10.0pt;
	font-family:Arial;
	letter-spacing:.25pt;}
.Section1
	{page:Section1;}
.Section2
	{page:Section2;}
-->
</style>
<!-- \/--OPTIMIZATION BY: IRUBIN CONSULTING --------------------------------------------------\/ -->
<meta name="description" content="">
<meta name="keywords" content="">

<meta name="robots" content="all">
<meta name="revisit-after" content="15 days">
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.weburbia.com/safe/ratings.htm" l r (s 0))'>
<meta name="Classification" content="Microsoft Excel, Excel Spreadsheet, Excel Tips and Tricks, Microsoft Office">
<meta name="Copyright" content="2002 copyright">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<!-- /\------------------------------------------------------------/\ -->
<link rel="stylesheet" href="/css/main.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>

<body bgcolor="#F79300" text="#333333" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<!--#include virtual="/cgi-bin/engine.pl?action=header"-->

<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="100%" valign="top" class="mtdleft">
	    <table border="0" cellspacing="0" cellpadding="0" align="right">
  <tr>
    <td >
              		  <object width="120" height="600">
              <param name="movie" value="/swf/exceltipflash_vertical.swf">
              <param name="quality" value="high">
              <embed src="/swf/exceltipflash_vertical.swf" quality="high" width="120" height="600"></embed>
			  </object> 
            </td>
  </tr>
</table>

	  <!-- InstanceBeginEditable name="Main Content Area" -->
	  <p align="center"><font class="chaptertitle">Chapter 7 continued ...</font><br>
        </p>
	  <p class=head-3 >&nbsp;</p>
<div align=left >
  <table border=0 cellspacing=0 cellpadding=0>
    <tr>
      <td width=64 valign=top class="Normal"> <p > <img width=28 height=45
  src="images/image023.jpg" v:shapes="_x0000_i1033"> </p></td>
      <td width=399 valign=top class="Normal"> <h1 ><a name="_Toc25998315">Tip
          – Double-click a cell that contains links to mark all precedent cells
          in the current worksheet</a></h1>
        <p >From <b>Tools</b>, select <b>Options</b>,<b> Edit</b>.</p>
        <p >Clear the <b>Edit directly in cell</b> option, and click <b>OK</b>.</p></td>
    </tr>
  </table>
        <br>
      </div>
<div align=left >
  <table border=0 cellspacing=2 cellpadding=3>
    <tr bgcolor="#e0e0e0">
      <td width=360 valign=top class="Normal"> <p class=head-2 ><a name="_Toc25863153"></a><a name="_Toc26773940"><span style='font-size:13.0pt'>Stepping
          into the Formula</span></a></p></td>
            <td width=96 valign=top class="Normal"> <p align="center" ><font color="#666666" size="3"><strong>New
                In <br>
                2002</strong></font> </p></td>
    </tr>
    <tr bgcolor="#e0e0e0">
      <td width=456 colspan=2 valign=top class="Normal"> <p >Step into
          the formula’s calculations, one step at a time. </p>
        <p >From the <b>Tools</b> menu, select <b>Audit formulas, Evaluate
          formula</b>, or from the <b>Audit formulas </b>toolbar, click <b>Evaluate
          formula</b>.</p>
        <p > <img width=429 height=222
  src="images/image025.jpg" v:shapes="_x0000_i1034"> </p>
        <p >The <b>Evaluate formula </b>dialog box allows you to move between
          the calculations in a formula. Click <b>Step In</b> to view a calculation
          that is part of this formula.</p></td>
    </tr>
  </table>
</div>
<p class=head-2 ><a name="_Toc25863154"></a><a name="_Toc26773941">Handling
  Errors</a></p>
<p >Entering formulas into cells in Excel sheets is not foolproof. It is
  impossible to completely avoid mistakes, but there are ways to keep them to
  a minimum.</p>
<p >The method described in <b>Nesting Formulas </b>(see above) will help
  you to create formulas inside other formulas. Combining the IF formula with
  the ISERROR formula returns a calculation whose result is TRUE, if the result
  of a calculation returns an error. </p>
<p > 1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> 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 formula ISERROR is located in the category <b>Information</b> in the <b>Paste
  Function</b> dialog box).</p>
<p class=listnumber > 2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> In Cell D1, enter an IF formula =IF(C1,0,B1).</p>
<p class=listnumber > 3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> Combine the formulas into one nested formula. From Cell C1, copy the
  formula (without the = sign), and paste it into Cell D1 instead of C1.</p>
<p class=listnumber > 4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> From Cell B1, copy the formula (without the = sign), and paste it twice
  – instead of the digit 0 and instead of B1.</p>
<p >The result – one nested formula: =IF(ISERROR(A1/A2),0,A1/A2).</p>
<p class=listnumber > <img width=441 height=268
src="images/image027.jpg" v:shapes="_x0000_i1035"> </p>
<p class=head-2 ><a name="_Toc25863155"></a><a
name="_Toc26773942">Marking Cells Containing Errors</a></p>
<p > <img width=140 height=180
src="images/image029.jpg" align=left hspace=12 v:shapes="_x0000_s1368">
  Mark cells containing errors so that they can appear in color, be easily identified,
  or be deleted.</p>
<h2 >Technique 1</h2>
<p class=listnumber > 1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> Press F5, or from the <b>Edit</b> menu, select <b>Go To…</b></p>
<p class=listnumber > 2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> In the <b>Go To</b> dialog box, click <b>Special…</b></p>
<p class=listnumber > 3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> Select <b>Formulas</b>, <b>Errors</b>.</p>
<p class=listnumber > 4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span> Click <b>OK</b>.</p>
<h2 >&nbsp; </h2>
<br clear=all style='page-break-before:always'>
<h2 >Technique 2</h2>
<p ><b>Use conditional formatting to mark and/or color cells containing
  errors</b>.</p>
<p class=listnumber > 1.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
  Make A1 be the active cell.  Press <b>Ctrl+A</b> to select the sheet.</p>
<p class=listbullet-1 > 2.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
  From the <b>Format</b> menu, select <b>Conditional Formatting</b>.</p>
<p class=listbullet-1 > 3.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
  In <b>Condition 1</b>, select <b>Formula Is</b>.</p>
<p class=listbullet-1 > 4.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
  In the formula box, type the formula <b>=IsError(A1)</b>. Now click <b>Format</b>,
  and select the desired properties.</p>
<p class=listbullet-1 > 5.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
  Click <b>OK</b>.</p>
<div align=left >
  <table border=0 cellspacing=2 cellpadding=3 width=456>
    <tr bgcolor="#e0e0e0">
      <td width=372 valign=top class="Normal"> <p class=head-3 ><a name="_Toc25863156"></a><a name="_Toc26773943"><span style='font-size:13.0pt'>Tracing
          errors</span></a></p></td>
            <td width=84 valign=top class="Normal"> <p align="center" ><font color="#666666" size="3"><strong>New
                In <br>
                2002</strong></font> </p></td>
    </tr>
    <tr bgcolor="#e0e0e0">
      <td width=456 colspan=2 valign=top class="Normal"> <p >In Cell A1,
          type the number <b>100</b>.</p>
        <p class=MsoBodyText2 >In Cell B1, type the formula =A1/A2. The
          result of the calculation returns the error #!DIV/0!. </p>
        <p >Select Cell B1 with the error, and click the <b>Error checking
          </b>icon (the first icon on the left on the <b>Auditing formulas </b>toolbar.</p></td>
    </tr>
  </table>
        <br>
      </div>
<div align=left >
  <table border=0 cellspacing=0 cellpadding=0 width=456 bgcolor="#d9d9d9">
    <tr>
            <td width=372 valign=top class="Normal"> <p align="right" ><font color="#666666" size="3"><strong>New
                In <br>
                2002&nbsp;&nbsp;&nbsp;</strong></font> </p></td>
    </tr>
    <tr>
      <td width=456 colspan=2 valign=top class="Normal"> <p >The smart
          tag for handling errors is created automatically in the cell whose calculation
          returned an error. Open the shortcut menu by clicking the small <b>Smart
          tag </b>arrow.</p>
        <p >Through the shortcut menu, you can get an explanation of the
          type of error in the formula, edit the formula, ignore errors, and view
          the evaluation steps by selecting <b>Show Calculation Steps…</b></p></td>
    </tr>
  </table>
</div>
<p > <img width=237 height=231
src="images/image031.jpg" v:shapes="_x0000_i1036"> </p>
<p > <img width=363 height=169
src="images/image033.jpg" v:shapes="_x0000_i1037"> </p>
  <p >&nbsp;</p>
      <p align="center"><a href="/excel_book/chapter7/p4.html">PREVIOUS</a> &nbsp;<a href="/excel_book/chapter7/p1.html">1</a>
        <a href="/excel_book/chapter7/p2.html">2</a> <a href="/excel_book/chapter7/p3.html">3</a>
        <a href="/excel_book/chapter7/p4.html">4</a> <a href="/excel_book/chapter7/p5.html">5</a>
        <a href="/excel_book/chapter7/p6.html">6</a> <a href="/excel_book/chapter7/p7.html">7</a>
        <a href="/excel_book/chapter7/p8.html">8</a> <a href="/excel_book/chapter7/p9.html">9</a>
        &nbsp;&nbsp;<a href="/excel_book/chapter7/p6.html">NEXT</a></p>
<!-- InstanceEndEditable --> 
    </td>
	      
    <td valign="top" class="mtdright">
	
	<!--#include virtual="/cgi-bin/engine.pl?action=right_side"-->


	 </td>
  </tr>
</table>
<!--#include virtual="/cgi-bin/engine.pl?action=footer"-->


</body>
<!-- InstanceEnd --></html>
