Copying down linked formulas

adamsqh

New Member
Joined
Aug 3, 2010
Messages
2
Hello,

I have several worksheets with linked formulas. I have over 200 rows that I want to paste the linked formulas to, but when I copy down the linked formula is stays the same so I get the same data in each cell. How do I get the formula to change the row # down 1 in witht he copy?

Thanks for your help!
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
what is your formula and exactly where would u want it to be???
try this code, this is example of how it will be in range C
if it does not work maybe you'll have to tell me exactly where you're looking to input the formula.....:biggrin:

Code:
sub adamsqh_try()
[FONT=Bell MT]Dim LR As Long[/FONT]
[FONT=Bell MT]'if you sheet name is different change it accordingly[/FONT]
[FONT=Bell MT][FONT=Bell MT]With Sheets("sheet1")<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>[/FONT]
[FONT=Bell MT]    LR = .Range("A" & Rows.Count).End(xlUp).Row<o:p></o:p>[/FONT]
[FONT=Bell MT]    .Range("C" & LR).Value = "you formula"[/FONT]
[FONT=Bell MT]End With[/FONT]
[FONT=Bell MT]<o:p>End Sub</o:p>[/FONT]
[FONT=Bell MT]<o:p></o:p>[/FONT] 
[/FONT]
 

adamsqh

New Member
Joined
Aug 3, 2010
Messages
2
The formula looks like this:

='Member List 10-11 All Basic Inf'!$C$3

when I copy it down I want it to copy it down like $c$4, $c$5, $c$6, etc.

I appreciate your help!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,838
Messages
5,833,921
Members
430,244
Latest member
Ireland1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top