Formula Errors

Copy Excel Formulas to a New Workbook Without External References

Steve KSteve K Nov 27, 2026 869 views

Question details

The user wants to copy formulas into a new workbook while keeping references to sheets in that workbook.

Copy Excel Formulas to a New Workbook Without External References
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the formula text

In the source workbook, select the formula cell. In the formula bar, select the text after the equal sign and copy it.

2
Paste into the new workbook

In the destination workbook, select the target cell, type an equal sign, and paste the copied text into the formula bar.

3
Confirm the references

Press Enter, then inspect the formula bar to confirm that references such as Sheet1!A1 do not include the source workbook name.

Copy the formula text into the destination workbook
Check existing external links: This method does not remove external workbook references already present in the source formula. Edit those references separately if they should point to local sheets.
Work with formulas in WPS Spreadsheets

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. 1. Open both workbooks: Open the source and destination files in WPS Spreadsheets and check that the destination contains the referenced sheet names.
  2. 2. Copy the formula text: Select the source cell, then select and copy the text after the equal sign in the formula bar.
  3. 3. Enter the formula: Select the destination cell, type an equal sign, paste the copied text into the formula bar, and press Enter.
  4. 4. Inspect the result: Select the destination cell and check the formula bar for unwanted workbook names or references that need editing.
Copy formulas without adding a source workbook name to local sheet referencesOpen and edit Microsoft Excel XLS and XLSX filesWork in a familiar spreadsheet interfaceUse WPS Office for free
microsoft office alternative - wps office

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.