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 are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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,214,878
Messages
6,122,062
Members
449,064
Latest member
scottdog129

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