PC Review


Reply
Thread Tools Rate Thread

Move forumlas to another sheet but keep references to first sheet

 
 
BMC
Guest
Posts: n/a
 
      9th Nov 2006
I need to copy a section of one sheet to another.

The section contains formulas referring to the same sheet.

When pasted into the second, the formulas should refer to the same cells
on the first sheet.

If I copy a formula with relative references e.g. =sum(A1:A5), it is
pasted as =sum(#ref!).

If I paste a formula with an absolute reference, e.g. it is pasted as
the same absolute reference e.g. =sum($A$1:$A$5) which refers to the
current sheet, not the originating sheet.

What I need it to be is =SUM(Sheet1!A1:A5)

How do I do this?
 
Reply With Quote
 
 
 
 
Alan
Guest
Posts: n/a
 
      9th Nov 2006
Your formula needs to be
=SUM(Sheet1!A1:Sheet1!A5)

Rgds
Alan

BMC wrote:

> I need to copy a section of one sheet to another.
>
> The section contains formulas referring to the same sheet.
>
> When pasted into the second, the formulas should refer to the same cells
> on the first sheet.
>
> If I copy a formula with relative references e.g. =sum(A1:A5), it is
> pasted as =sum(#ref!).
>
> If I paste a formula with an absolute reference, e.g. it is pasted as
> the same absolute reference e.g. =sum($A$1:$A$5) which refers to the
> current sheet, not the originating sheet.
>
> What I need it to be is =SUM(Sheet1!A1:A5)
>
> How do I do this?


 
Reply With Quote
 
BMC
Guest
Posts: n/a
 
      9th Nov 2006

Either seems to result in the same, but anyway, any ideas how to move a
load of formulas to a second sheet and refer to the original shhet, not
the respective cells in the new sheet?

Alan wrote:
> Your formula needs to be
> =SUM(Sheet1!A1:Sheet1!A5)
>
> Rgds
> Alan
>
> BMC wrote:
>
>> I need to copy a section of one sheet to another.
>>
>> The section contains formulas referring to the same sheet.
>>
>> When pasted into the second, the formulas should refer to the same cells
>> on the first sheet.
>>
>> If I copy a formula with relative references e.g. =sum(A1:A5), it is
>> pasted as =sum(#ref!).
>>
>> If I paste a formula with an absolute reference, e.g. it is pasted as
>> the same absolute reference e.g. =sum($A$1:$A$5) which refers to the
>> current sheet, not the originating sheet.
>>
>> What I need it to be is =SUM(Sheet1!A1:A5)
>>
>> How do I do this?

>

 
Reply With Quote
 
BMC
Guest
Posts: n/a
 
      9th Nov 2006
Oh I've been a silly old hector!

Cut and paste rather than copy and paste does it, which stands to
reasons as the point of the exercise was that I wanted to move the formulas!

BMC wrote:
> I need to copy a section of one sheet to another.
>
> The section contains formulas referring to the same sheet.
>
> When pasted into the second, the formulas should refer to the same cells
> on the first sheet.
>
> If I copy a formula with relative references e.g. =sum(A1:A5), it is
> pasted as =sum(#ref!).
>
> If I paste a formula with an absolute reference, e.g. it is pasted as
> the same absolute reference e.g. =sum($A$1:$A$5) which refers to the
> current sheet, not the originating sheet.
>
> What I need it to be is =SUM(Sheet1!A1:A5)
>
> How do I do this?

 
Reply With Quote
 
mdavison
Guest
Posts: n/a
 
      9th Nov 2006
Why do they need to be "moved" ?? maybe youare creating stress for yourself?
maybe you can copy the current sheet - rename the tab and modify in or out
whatever you need to from the second copy of the sheet?
Seems a whole lot easier than copy/paste/rename/find and replace....

Just a thought.



"BMC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Either seems to result in the same, but anyway, any ideas how to move a
> load of formulas to a second sheet and refer to the original shhet, not
> the respective cells in the new sheet?
>
> Alan wrote:
> > Your formula needs to be
> > =SUM(Sheet1!A1:Sheet1!A5)
> >
> > Rgds
> > Alan
> >
> > BMC wrote:
> >
> >> I need to copy a section of one sheet to another.
> >>
> >> The section contains formulas referring to the same sheet.
> >>
> >> When pasted into the second, the formulas should refer to the same

cells
> >> on the first sheet.
> >>
> >> If I copy a formula with relative references e.g. =sum(A1:A5), it is
> >> pasted as =sum(#ref!).
> >>
> >> If I paste a formula with an absolute reference, e.g. it is pasted as
> >> the same absolute reference e.g. =sum($A$1:$A$5) which refers to the
> >> current sheet, not the originating sheet.
> >>
> >> What I need it to be is =SUM(Sheet1!A1:A5)
> >>
> >> How do I do this?

> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copying a template sheet and inputting a formula into another sheetthat references the new sheet A & S Microsoft Excel Programming 1 29th Jul 2009 09:59 PM
Copying sheet containing GetPivotData, new sheet references old workbook! rivkarak Microsoft Excel Programming 0 18th Jan 2007 12:31 PM
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. =?Utf-8?B?Um9uTWM1?= Microsoft Excel Misc 9 3rd Feb 2005 01:51 AM
RE: multple sheet references in a summary sheet =?Utf-8?B?bWVlc2gxMjI0?= Microsoft Excel Misc 0 18th Jun 2004 03:15 PM
Re: multple sheet references in a summary sheet Frank Kabel Microsoft Excel Misc 0 16th Jun 2004 11:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 AM.