Copy Excel Formula Sheets Without External Workbook References
Question details
Copy a worksheet containing formulas into another workbook without creating new references to the source workbook.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user needs to transfer a worksheet with formulas such as VLOOKUP and FILTER to a different workbook.
- Observed behavior
- Copied formulas may retain links to the original workbook after it is closed.
Open both workbooks and check whether the formulas reference other sheets that must also exist in the destination. Choose a temporary marker, such as ZZZEQUALSZZZ, that does not already appear anywhere on the worksheet.
Convert formulas to text before copying the Excel worksheet
Use Find and Replace to prevent Excel from rewriting formulas as external references during the copy.
Replacing equals signs temporarily turns formulas into text. Restoring the equals signs after copying makes them formulas again.
This method does not remove external references that were already present in the formulas. References to other sheets must resolve in the destination workbook.
In the source workbook, select the worksheet and open Home > Find & Select > Replace. Find =, replace it with ZZZEQUALSZZZ, and choose Replace All.
Right-click the worksheet tab and select Move or Copy. Choose the destination workbook under To book, select Create a copy, and click OK.
In the copied worksheet, open Home > Find & Select > Replace. Find ZZZEQUALSZZZ, replace it with =, and choose Replace All.
Return to the source worksheet and use Replace All to change ZZZEQUALSZZZ back to = there as well.
Review formulas in the destination workbook and verify that referenced sheets and ranges exist. Use Data > Edit Links or Workbook Links, if available, to inspect any remaining external links.

Copy a formula worksheet with WPS Spreadsheets
Use WPS Spreadsheets to temporarily convert formulas to text, copy the worksheet to another workbook, and restore the formulas without creating links during the copy.
- 1. Open both workbooks: Open the source and destination files in WPS Spreadsheets, then select the source worksheet tab.
- 2. Temporarily change formulas to text: Open Find and Replace, replace = with a unique marker such as ZZZEQUALSZZZ, and choose Replace All.
- 3. Copy the sheet: Right-click the worksheet tab, select Move or Copy Sheet, choose the destination workbook, and select the option to create a copy.
- 4. Restore and check formulas: Use Find and Replace on both the copied sheet and the source sheet to change ZZZEQUALSZZZ back to =. Check that referenced sheets and ranges exist in the destination, then save the workbook as XLSX.

Frequently Asked Questions
Why do copied Excel formulas link to the original workbook?
When a sheet is copied to another workbook, Excel may preserve references to the original workbook, especially when formulas refer to other source sheets. Temporarily converting formulas to text prevents Excel from rewriting them during the copy.
Will this method remove links that were already in my formulas?
No. Existing external references remain in the formula text. Check Data > Edit Links or Workbook Links, if available, and review the formulas for references to other workbooks.
What if a formula refers to another worksheet?
Make sure the required sheet and ranges exist in the destination workbook before restoring the formula. Otherwise, Excel may prompt for a source or return a reference error.
Why do I need to restore the source worksheet too?
The initial Replace All changes the source formulas to text. Use Home > Find & Select > Replace on the source sheet to change the temporary marker back to =.




