Copy and paste formula to different workbook

Skye

New Member
Joined
Oct 6, 2009
Messages
8
Hello,

I have several formulas I am setting up for 20 spreadsheets (Excel 2003). I need to copy multiple formulas from one spreadsheet to another in a different workbook (I am just going this process once for the 20 spreadsheets and then I will not need to edit them).

When I select the data and then select paste-special (formula) the reference to the previous workbook is added to the formula. I do not need the reference to the workbook and I am currently manually editing each formula to delete the reference to the previous workbook.

For example the formula I want to copy is:
=COUNTIF(Rawdata!M2:M50,"Gordonvale")

when I copy and select paste-special (formulas) into the different workbook the formula is now:
=COUNTIF('[Cairns & Hinterland MDS_Q1.xls]Rawdata'!M2:M50,"Gordonvale")

ie. I am looking for a solutions so the '[Cairns & Hinterland MDS_Q1.xls] is not carried over with the formula.

Thank you for any advice.

Skye
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Select or highlight the whole worksheet once you are done with copying the formula over, press Ctrl+H, copy the text "'[Cairns & Hinterland MDS_Q1.xls]" without quotes in the "Find what" option, leave the "Replace with" option blank and click on "Replace All".
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,651
Members
449,326
Latest member
asp123

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