PC Review


Reply
Thread Tools Rate Thread

Copying Rows of Formulas

 
 
John13
Guest
Posts: n/a
 
      2nd Apr 2007
How can I copy Row 1 down without offsetting the referenced cells? I
copied it to Row 5 and it changed the reference to A5, B5, etc.

A B
C D
=Sheet2!A1 =Sheet2!B1 =Sheet2!C1 =Sheet2!D1 (Row 1)
=Sheet3!A2 =Sheet3!B2 =Sheet3!C2 =Sheet3!D2 (Row 2)

=Sheet2!A4 =Sheet2!B4 =Sheet2!C4 =Sheet2!D4 (Row 4)
=Sheet2!A5 =Sheet2!B5 =Sheet2!C5 =Sheet2!D5 (Row 5)

Also, can I make the cell formula Sheet reference number a variable?

Like: =Sheet(J1)!A1 instead of =Sheet3!A1 so I can control the sheet
number it looks at by changing the value of J1?

Thank you for your continuing Excel education, your service is
appreciated more than you will ever know.

John

 
Reply With Quote
 
 
 
 
AD
Guest
Posts: n/a
 
      2nd Apr 2007
You have to add a $ before the column or row
$A$1
"John13" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How can I copy Row 1 down without offsetting the referenced cells? I
> copied it to Row 5 and it changed the reference to A5, B5, etc.
>
> A B
> C D
> =Sheet2!A1 =Sheet2!B1 =Sheet2!C1 =Sheet2!D1 (Row 1)
> =Sheet3!A2 =Sheet3!B2 =Sheet3!C2 =Sheet3!D2 (Row 2)
>
> =Sheet2!A4 =Sheet2!B4 =Sheet2!C4 =Sheet2!D4 (Row 4)
> =Sheet2!A5 =Sheet2!B5 =Sheet2!C5 =Sheet2!D5 (Row 5)
>
> Also, can I make the cell formula Sheet reference number a variable?
>
> Like: =Sheet(J1)!A1 instead of =Sheet3!A1 so I can control the sheet
> number it looks at by changing the value of J1?
>
> Thank you for your continuing Excel education, your service is
> appreciated more than you will ever know.
>
> John
>



 
Reply With Quote
 
RagDyeR
Guest
Posts: n/a
 
      2nd Apr 2007
Try this for the 2nd part of your question:

=INDIRECT("Sheet"&J1&"!A1")

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================


"AD" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
You have to add a $ before the column or row
$A$1
"John13" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How can I copy Row 1 down without offsetting the referenced cells? I
> copied it to Row 5 and it changed the reference to A5, B5, etc.
>
> A B
> C D
> =Sheet2!A1 =Sheet2!B1 =Sheet2!C1 =Sheet2!D1 (Row 1)
> =Sheet3!A2 =Sheet3!B2 =Sheet3!C2 =Sheet3!D2 (Row 2)
>
> =Sheet2!A4 =Sheet2!B4 =Sheet2!C4 =Sheet2!D4 (Row 4)
> =Sheet2!A5 =Sheet2!B5 =Sheet2!C5 =Sheet2!D5 (Row 5)
>
> Also, can I make the cell formula Sheet reference number a variable?
>
> Like: =Sheet(J1)!A1 instead of =Sheet3!A1 so I can control the sheet
> number it looks at by changing the value of J1?
>
> Thank you for your continuing Excel education, your service is
> appreciated more than you will ever know.
>
> John
>




 
Reply With Quote
 
John13
Guest
Posts: n/a
 
      3rd Apr 2007
On Apr 2, 10:37 am, "RagDyeR" <ragd...@cutoutmsn.com> wrote:
> Try this for the 2nd part of your question:
>
> =INDIRECT("Sheet"&J1&"!A1")
>
> --
>
> HTH,
>
> RD
> =====================================================
> Please keep all correspondence within the Group, so all may benefit!
> =====================================================
>
> "AD" <alejandro.d...@dot.state.fl.us> wrote in message
>
> news:(E-Mail Removed)...
> You have to add a $ before the column or row
> $A$1"John13" <johnasmit...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > How can I copy Row 1 down without offsetting the referenced cells? I
> > copied it to Row 5 and it changed the reference to A5, B5, etc.

>
> > A B
> > C D
> > =Sheet2!A1 =Sheet2!B1 =Sheet2!C1 =Sheet2!D1 (Row 1)
> > =Sheet3!A2 =Sheet3!B2 =Sheet3!C2 =Sheet3!D2 (Row 2)

>
> > =Sheet2!A4 =Sheet2!B4 =Sheet2!C4 =Sheet2!D4 (Row 4)
> > =Sheet2!A5 =Sheet2!B5 =Sheet2!C5 =Sheet2!D5 (Row 5)

>
> > Also, can I make the cell formula Sheet reference number a variable?

>
> > Like: =Sheet(J1)!A1 instead of =Sheet3!A1 so I can control the sheet
> > number it looks at by changing the value of J1?

>
> > Thank you for your continuing Excel education, your service is
> > appreciated more than you will ever know.

>
> > John- Hide quoted text -

>
> - Show quoted text -


Thank you both very much, again I appreciate you taking time to teach!

John

 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      3rd Apr 2007
And we appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"John13" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Apr 2, 10:37 am, "RagDyeR" <ragd...@cutoutmsn.com> wrote:
>> Try this for the 2nd part of your question:
>>
>> =INDIRECT("Sheet"&J1&"!A1")
>>
>> --
>>
>> HTH,
>>
>> RD
>> =====================================================
>> Please keep all correspondence within the Group, so all may benefit!
>> =====================================================
>>
>> "AD" <alejandro.d...@dot.state.fl.us> wrote in message
>>
>> news:(E-Mail Removed)...
>> You have to add a $ before the column or row
>> $A$1"John13" <johnasmit...@gmail.com> wrote in message
>>
>> news:(E-Mail Removed)...
>>
>>
>>
>> > How can I copy Row 1 down without offsetting the referenced cells? I
>> > copied it to Row 5 and it changed the reference to A5, B5, etc.

>>
>> > A B
>> > C D
>> > =Sheet2!A1 =Sheet2!B1 =Sheet2!C1 =Sheet2!D1 (Row 1)
>> > =Sheet3!A2 =Sheet3!B2 =Sheet3!C2 =Sheet3!D2 (Row 2)

>>
>> > =Sheet2!A4 =Sheet2!B4 =Sheet2!C4 =Sheet2!D4 (Row 4)
>> > =Sheet2!A5 =Sheet2!B5 =Sheet2!C5 =Sheet2!D5 (Row 5)

>>
>> > Also, can I make the cell formula Sheet reference number a variable?

>>
>> > Like: =Sheet(J1)!A1 instead of =Sheet3!A1 so I can control the sheet
>> > number it looks at by changing the value of J1?

>>
>> > Thank you for your continuing Excel education, your service is
>> > appreciated more than you will ever know.

>>
>> > John- Hide quoted text -

>>
>> - Show quoted text -

>
> Thank you both very much, again I appreciate you taking time to teach!
>
> John
>



 
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
Re: copying formulas when inserting new rows Jim Rech Microsoft Excel Misc 1 8th Sep 2008 02:55 PM
Re: copying formulas when inserting new rows Dave Peterson Microsoft Excel Misc 2 8th Sep 2008 03:19 AM
Copying Formulas Down Rows J Microsoft Excel Programming 4 30th Jun 2006 10:51 PM
Copying Formulas to rows mdj101 Microsoft Excel Discussion 5 23rd Apr 2006 06:43 PM
Copying rows/formulas erikcw Microsoft Excel Programming 1 22nd Nov 2005 05:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:32 AM.