Copy formula between sheets

Hi everyone


I would like to know how to copy formulas with references to other table of the same sheet to another sheet, but without the references to be taken from the original sheet.


Let me make that more clear:

i) I have a "Sheet1" with two tables: "Data" and "Stats"

ii) Let us consider, for instance, that one of the formula in "Stats" is as below:

=2*Data::A1

iii) Now let us consider "Sheet2" with also two tables "Data" and "Stats"

iv) If I copy / paste the formula from ii) to the table "Stats" of "Sheet2", the result of the paste operation will be

=2*Sheet1::Data::A1


The question is:


Is there a way to make it paste simply

=2*Data::A1

So that the formula will refer the the table "Data" in "Sheet2" and not "Sheet1" ?


Best regards.


- Antoine


PS: I am using Numbers'09 v 2.2 under MacOSX ML

Posted on Aug 12, 2012 12:04 AM

Reply
8 replies

Aug 13, 2012 7:19 AM in response to yopmaster

yopmaster wrote:

...

I would like to do the the same for a set of cell or, even better, for a whole table. That is, I would like to be able to copy the table "Stats" from "Sheet1" to "Sheet2" and having the pasted array to refer to the data in "Sheet2" (instead of "Sheet1" by default)


- Antoine

Then, copy the entire sheet and paste it into the Sheets Pane, and edit out the parts that you don't need from the first sheet. That was Wayne's suggestion. You have to decide which way is the least trouble.


Jerry

Aug 12, 2012 7:53 PM in response to yopmaster

YM,


Without getting into why you want to do this, we can just talk about the difference between copying cells and copying the content of cells.


The way to make it paste simply

=2*Data::A1

So that the formula will refer the the table "Data" in "Sheet2" and not "Sheet1" is:



Copy the expression text in the formula editor, from the "donor" cell and Paste in to the formula editor for the receiving cell.


If you simply select the cell and copy it, pasting onto another cell, you will get the inferred relative addressing. If you copy from the formula editor line, the copy/paste will be literal.


Jerry

Aug 13, 2012 7:11 AM in response to Jerrold Green1

Thank you for your answer,


The truth is that if I write in "Sheet1" the formula:


=2*Data::A1


(and not =2*Sheet1::Data::A1)


And copy it to "Sheet2" (by copying the cell itself, not from the formula bar), the result of the copy/paste operation will be:


=2*Sheet1::Data::A1


In other words, even if the formulas are relative in "Sheet1", they become absolute after a copy/paste operation.


But as you suggested, if I copy from the formula editor the copy is literal and I have the result I want.

Thank you very much.

Still, this can only be carried out for one single cell.


I would like to do the the same for a set of cell or, even better, for a whole table. That is, I would like to be able to copy the table "Stats" from "Sheet1" to "Sheet2" and having the pasted array to refer to the data in "Sheet2" (instead of "Sheet1" by default)


- Antoine

Aug 17, 2012 10:39 PM in response to yopmaster

"I would like to do the the same for a set of cell or, even better, for a whole table. That is, I would like to be able to copy the table "Stats" from "Sheet1" to "Sheet2" and having the pasted array to refer to the data in "Sheet2" (instead of "Sheet1" by default)"


Presented as an alternate to suggestions above. Use is situations where this is the more efficient path.


Omit the sheet name for the formulas if they refer to cells on the same sheet as the original formula in on.


Select all cells in the block you want to copy and set the cell format to Text, using the inspector.

Copy.

Select the top left cell of the similar block in the target table.

Paste.


Reset to cell formats to Automatic (if appropriate) or to the format needed for each cell or group of cells (both tables).


Regards,

Barry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Copy formula between sheets

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.