Avoiding Circular-Reference Errors When Keeping Running Totals

Last reviewed: August 20, 1995
Article ID: Q28872

The information in this article applies to:

  • Microsoft Excel for Windows, versions 2.x, 3.x, 4.x, 5.0, 5.0c
  • Microsoft Excel for Windows NT, version 5.0
  • Microsoft Excel for Windows 95, version 7.0
  • Microsoft Excel for the Macintosh, versions 2.2, 3.x, 4.x, 5.0, 5.0a

SUMMARY

In Microsoft Excel, you can use one cell to keep a running total of the numbers that you enter in a second single cell. For example, you have cell B1 total the numbers that are entered in cell A1 by using the formula =A1+B1. To do this without generating a circular-reference error, follow the steps below.

MORE INFORMATION

You can keep a running total by doing the following:

  1. From the Tools menu, choose Options, and then choose Calculation. (If you are using a version of Microsoft Excel earlier than 5.0, choose Calculation from the Options menu.)

  2. Set the Calculation field to Manual.

  3. Select in the Iteration check box.

  4. In the Maximum Iterations box, type "1" (without the quotation marks).

These steps limit the number of calculations to one, eliminating the circular-reference error. However, calculations must now be performed manually by selecting Calculate Now from the Options menu. Note that these changes are global.


KBCategory: kbusage
KBSubcategory:

Additional reference words: 7.00 2.00 2.01 2.10 2.20 2.21 3.00 4.00 5.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 20, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.