Copy formula to another workbook but refers to new workbook

EasterGreen

Board Regular
Joined
Sep 7, 2009
Messages
50
If I copy a formula from the worksheet 'List' in one workbook to the same named worksheet in another, say:
=sumif('Data'!$b$4:$b$44,'List'!$b4,'Data'!$c$4:$c$44)
It automatically inserts links to the old workbook:
=sumif('[Old book .xlsx]Data'!$b$4:$b$44,'[Old book .xlsx]List'!$b4,'[Old book .xlsx]Data'!$c$4:$c$44)

is there any way for a quick copy and paste to make it ignore the workbook references and go to the new workbook worksheets?

Sorry if not very clear.

Brian
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
If you highlight and copy from the window at the top left of the screen, rather than directly from the cell, then Excel will copy the exact formula, rather than do what it is doing for you now and linking to the original spreadsheet.
 
Upvote 0
My pleasure :)
I've received plenty of help on here, and still am so it's always nice to be able to help someone else.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top