Microsoft Knowledge Base

XL5: Cell That References ROW() Function Is Not Recalculated

Last reviewed: September 12, 1996
Article ID: Q120722
The information in this article applies to:
  • Microsoft Excel for Windows, versions 5.0, 5.0c
  • Microsoft Excel for the Macintosh, version 5.0

SYMPTOMS

In Microsoft Excel, if a formula on your worksheet refers to the ROW() function, when you insert a new row on the worksheet that causes the ROW() function to be recalculated, the value in the cell that refers to the function is not updated.

CAUSE

This behavior occurs if the cells that refer to the ROW() function contain shared formulas and more than approximately 75-percent of the formulas on your worksheet are shared formulas.

This problem does not occur when you delete a row that causes the ROW() function to be updated.

WORKAROUNDS

To work around this behavior, do either of the following:

  • Use the CELL() formula with the Row argument instead of the ROW formula as in the following example:

          =CELL("Row",B2)
    

    -or-

  • Calculate all of the cells on the worksheet by pressing CTRL+ALT+F9, or by using the Calculation tab in the Options dialog box. Note that you must use this method every time you insert a row or column on the worksheet.

REFERENCES

For more information about ROW(), choose the Search button in Help and type:

   ROW function


KBCategory: kbother
KBSubcategory:

Additional reference words: 5.00 5.00c



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: September 12, 1996
©1997 Microsoft Corporation. All rights reserved. Legal Notices.