Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

excel problem with copying formulas

Feb 7, 2008 6:05AM PST

When I try to copy an excel spreadsheet and paste the whole thing to a new blank excel document the contents are pasted but the formulas in the cells are not there. Would appreciate any tips on how to do this so formulas are included.

Discussion is locked

- Collapse -
Re: Excel problem with copying formulas.
Feb 7, 2008 7:00AM PST

An interesting phenomenon I didn't know about. So I had to experiment a little bit in my Excel 2000. It might very well work otherwise in higher versions (XP, 2003, 2007), I just didn't try.

Copying of formulas only works in the same instance of Excel. It doensn't work between different instances. You don't see the difference in the taskbar, but you can see it in the Window command in the menubar. A workmap is open in the same instance as another workmap if they are mentioned happily together as open windows there. And they are open in different instances if you don't see them mentioned together.

So:
- In your source workbook use File>Open to open the target workbook, it will open in the same instance and you can copy/paste formulas.
- If you open the target workbook by clicking on it in Explorer, or after running a different instance of Excel from Start>Programs or an icon on your desktop, you can't copy formulas.

All I can say: that's the way it's designed.

Kees

- Collapse -
Excel problem with copying formulas
Feb 7, 2008 9:56AM PST

I am not clear on what you mean by "In your source workbook use File>Open to open the target workbook, it will open in the same instance and you can copy/paste formulas".

What does source workbook mean and what does target workbook mean?

I would appreciate your help

- Collapse -
Re: source and target
Feb 7, 2008 7:43PM PST

Sorry, these are more or less technical terms.

The source workbook is the workbook that contains the worksheet you want to copy. The target workbook is the workboot that you want to copy the worksheet to.

You copy from source to target. That's the idea.

Kees

- Collapse -
How are you copying the worksheet?
Feb 7, 2008 7:07PM PST

To copy a complete sheet right click the spreadsheet's tab, (at the bottom), and select Move or Copy. In the new window you now have choices.

First, which 'Workbook' do you want to move/copy to? Use the pull down list or if it is the same workbook, accept the default.

Second, decide if you want to 'move' the sheet or to 'copy' it. To move it, do nothing. To create a copy, click the "Create a copy" option.

Third, decide where you want to sheet to go. The larger window will list all the existing sheets and the moved/copied sheet will be placed before the sheet you highlight, unless you select, 'Move to end'.

I hope that helps.

Mark

- Collapse -
excel problem with copying formulas
Feb 8, 2008 12:20AM PST

Mark,
That worked perfectly. Thanks for the tip, I appreciate it

- Collapse -
excel problem with copying formulas in emails
Feb 8, 2008 4:46AM PST

As I said your solution worked perferctly. What about when sending emails with excel attachments. How can you send them so that the recipient gets the spreadsheets with the formulas in the cells?

- Collapse -
The recipient gets exactly what you send.
Feb 8, 2008 5:08AM PST

So if it has formulas with you, it will have formulas over there.

However, if you make cross-workbook formulas (formulas in workbook #1 pointing to workbook #2), that involves saving and putting the workbooks in the 'correct' folder. It might not work directly from the attachement.


Kees