Copy Excel Formulas to a New Workbook Without External References
Question details
The user wants to copy formulas into a new workbook while keeping references to sheets in that workbook.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Formulas are being moved from one Excel workbook to another that contains the sheets they should reference.
- Observed behavior
- Copying formula cells can leave references to the original workbook instead of using local sheet references.
Check that the destination workbook contains the sheet names used in the formulas. Inspect the source formula for existing external references, such as [Source.xlsx]Sheet1, because copying its text will retain them.
Copy the formula text into the destination workbook
Use this method when a source formula already uses local sheet references and you want those references to point to matching sheets in the destination workbook.
Copying formula text preserves the references as written rather than adjusting relative references based on the destination cell.
In the source workbook, select the formula cell. In the formula bar, select the text after the equal sign and copy it.
In the destination workbook, select the target cell, type an equal sign, and paste the copied text into the formula bar.
Press Enter, then inspect the formula bar to confirm that references such as Sheet1!A1 do not include the source workbook name.

Copy local formula references in WPS Spreadsheets
Use the formula bar in WPS Spreadsheets to copy formula text into another workbook while retaining local sheet references as written.
- 1. Open both workbooks: Open the source and destination files in WPS Spreadsheets and check that the destination contains the referenced sheet names.
- 2. Copy the formula text: Select the source cell, then select and copy the text after the equal sign in the formula bar.
- 3. Enter the formula: Select the destination cell, type an equal sign, paste the copied text into the formula bar, and press Enter.
- 4. Inspect the result: Select the destination cell and check the formula bar for unwanted workbook names or references that need editing.

Frequently Asked Questions
Why does my copied formula refer to the original workbook?
When you copy a formula cell between workbooks, Excel may retain a reference to the source workbook. Copying the formula text from the formula bar instead can preserve local sheet references as written.
Will copying formula text remove an existing external reference?
No. If the source formula already contains a reference such as [Source.xlsx]Sheet1!A1, the copied text retains it. Edit the formula in the destination workbook if it should reference a local sheet.
Do relative references change when I copy formula text?
No. Copying the text preserves the cell references as written. For example, A1 remains A1 even if you enter the formula in a different destination cell.
Could copying between XLS and XLSX files cause external references?
The file formats alone are not enough to establish the cause. Check the formula bar for a workbook name in brackets and verify that the destination workbook has the referenced sheets.




