Copying formula to another workbook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to use the same formula in another workbook e.g. A1+sheet2!b1, however
when I copy it it links to the other workbook e.g. when I paste I get
[otherworkbook]'a1+Sheet2!B1

How can I copy just the formula so it works in the same cells in my new
workbook
 
Try copying from the formula bar and pasting into the formula bar.
I want to use the same formula in another workbook e.g. A1+sheet2!b1, however
when I copy it it links to the other workbook e.g. when I paste I get
[otherworkbook]'a1+Sheet2!B1

How can I copy just the formula so it works in the same cells in my new
workbook
 
If you're only copying one formula, you can copy it out of the formula line
(not sure what it's official name is--the area above the worksheet) instead
of copying and pasting the cell itself. Just make sure to paste the formula
into the formula line as well.

Obviously, this will be cumbersome if you've got a lot of copying and
pasting to do. So, if that's the case, do all your copying and pasting
(don't worry about the workbook references), then do a find/replace to
eliminate all references to [otherworkbook].
 
One other method if needing to copy multiple formulas.

In source workbook select your range of formulas.

Edit>Replace

what: =

with: xxx=

Replace all.

Copy these amended formulas to the target workbook and reverse the edit>replace.

Close the source workbook without saving or reverse the edit>replace there also.

I prefer the close/no save


Gord Dibben MS Excel MVP

If you're only copying one formula, you can copy it out of the formula line
(not sure what it's official name is--the area above the worksheet) instead
of copying and pasting the cell itself. Just make sure to paste the formula
into the formula line as well.

Obviously, this will be cumbersome if you've got a lot of copying and
pasting to do. So, if that's the case, do all your copying and pasting
(don't worry about the workbook references), then do a find/replace to
eliminate all references to [otherworkbook].

See said:
I want to use the same formula in another workbook e.g. A1+sheet2!b1, however
when I copy it it links to the other workbook e.g. when I paste I get
[otherworkbook]'a1+Sheet2!B1

How can I copy just the formula so it works in the same cells in my new
workbook
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top