How to Prevent Excel #REF! Errors When Moving Linked Cells
Question details
The user experiences broken formulas displaying #REF! errors when moving or shifting linked cells across worksheets, and wants to know how to prevent this.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Cutting and shifting cells that contain data linked to formulas in other worksheets.
- Observed behavior
- Moving the cells breaks the cross-sheet formula references, resulting in a #REF! calculation error instead of the expected value.
Before troubleshooting, press Ctrl+F3 to open the Name Manager and check if there are any existing broken named ranges displaying #REF! errors, as these can cascade through your linked formulas when cells are shifted.
Troubleshoot Workbook Corruption and Add-ins
Determine if the #REF! error is caused by a corrupted file or a conflicting Excel add-in by using Safe Mode and a test workbook.
Sometimes, formula references break unexpectedly during cell movement due to corrupted workbook cache or interference from third-party add-ins.
Open a brand new Excel workbook, create a simple linked formula between two sheets, and try shifting the cells. This helps determine if the issue is specific to your original file.
Navigate to File > Account > Update Options and click 'Update Now' to ensure you are not encountering a known software bug that has already been patched.
Close Excel entirely. Hold down the Ctrl key on your keyboard and click the Excel application icon to launch it in Safe Mode. Try shifting the linked cells again to rule out add-in interference.
If the test workbook works perfectly, your original file may be corrupted. Manually copy your content into the new workbook and carefully review your linked formulas to repair broken references.

Use Copy and Paste Instead of Cut
Cutting cells fundamentally removes their reference identity in Excel, which breaks dependent formulas. Copying preserves the original reference.
Use the INDIRECT Function for Static References
Prevent reference shifts by using the INDIRECT function to rigidly define the source cell so it never breaks.
Manage Linked Cells and Prevent Formula Errors in WPS Office
WPS Spreadsheet provides a robust calculation engine that handles linked worksheets flawlessly. By using WPS Office, you can easily manage cross-sheet references, utilize advanced functions, and safely move data without generating #REF! errors.
- 1. Open your workbook in WPS Spreadsheet: Launch WPS Office and open your existing spreadsheet containing the linked worksheets and formulas.
- 2. Use safe data movement commands: Select the cells you wish to move, right-click and choose Copy (Ctrl+C). Paste them in the new location to guarantee your cross-sheet original references remain perfectly intact.
- 3. Lock your cell references: For critical linked formulas, highlight the cell reference in the formula bar and press F4 to apply absolute references (e.g., $A$1), preventing them from breaking when neighboring cells shift.
- 4. Audit your formulas: Navigate to the Formulas tab and use the Error Checking tool to quickly find, diagnose, and resolve any pre-existing #REF! errors transferred from your old spreadsheet environment.

Frequently Asked Questions
Why does a spreadsheet show a #REF! error when I cut and paste cells?
When you cut a cell, the spreadsheet program removes its original reference entirely. Any linked formula looking for that specific original cell will return a #REF! error because the source it heavily depends on no longer exists in that exact location.
Does copying and pasting cells also cause #REF! errors?
No. Copying leaves the original cell and its reference exactly intact. Linked formulas will continue to read the original cell without breaking, allowing you to paste the data elsewhere safely.
How do I quickly fix an existing #REF! error in my worksheet?
To fix a #REF! error, select the cell containing the error, click into the formula bar, and replace the '#REF!' text portion of the formula with the correct, newly intended cell or range reference.
Can absolute references prevent #REF! errors when shifting cells?
Adding dollar signs (e.g., $A$1) creates an absolute reference, which stops the reference from changing when the formula itself is copied. However, if the source cell is deleted or cut, even an absolute reference will yield a #REF! error. The INDIRECT function is required for absolute protection against cell deletion.




