XL5: Cut/Paste Formula with Reference Returns #REF! ErrorLast reviewed: February 2, 1998Article ID: Q127791 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, if you cut a range of cells that contains both a formula and the cells that it refers to, and you paste the formula and the cells to another worksheet, the reference in the formula is displayed as the #REF! error value. This error value may cause the resulting formula to return the #REF! error value as well.
CAUSEThis behavior occurs if you use the Cut command to move a formula from one worksheet to another worksheet when the formula contains a reference to a cell on the original worksheet. For example, if you cut the cells A1:A4, and if cell A4 contains the following formula
=SUM(A1:A3)if you paste A1:A4 to a cell on another worksheet, the formula appears as =SUM(#REF!) and returns the #REF! error value on the worksheet.
WORKAROUNDTo avoid receiving the #REF! error value when you move a formula to another worksheet, use the Copy command instead of the Cut command by doing the following:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel version 5.0a for the Macintosh and Microsoft Excel for Windows 95, version 7.0. NOTE: If you cut a formula that contains relative references to cells on a worksheet (and you do not cut the cells that the formula refers to) and you paste that formula to another worksheet, the formula is not adjusted and you will always receive a #REF! error value. This is a limitation of Microsoft Excel.
REFERENCESFor more information about Moving Cells, or the Cut Command (Edit Menu), choose the Search button in MS Excel Help and type:
moving cells |
Additional query words: 5.00 5.00a 5.00c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |