Copy Down Formula B2,B12,B22...

ClowWater

New Member
Joined
Aug 10, 2009
Messages
6
I know this has to be a common question but I could not find a posting on it through a google search.
This is what I have in ColA
1
4
5
7
3
9
6
3
4
5
In colB I want to put the following formulas
=a2
=a12
=a22

I have about 1000 rows so I didn't want to type it out and thought Excel would be smart enough to copy down the correct pattern when I highlighted B1-B3 but it came up with some wierd pattern.

There has to be a simple way to get Excel to copy this down? Or do I have to write a more complex formula?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
One way aroudn this is to type the following:

B1 =INDIRECT("A"&C2)
C1 2
B2 =INDIRECT("A"&C2)
C2 12

Select all four cells and drag down as far as you need using the handle.
 
Upvote 0
This will work...but one more wrinkle.
Say I want ColD
=A3
=A13

I was thinking something like: =INDIRECT("A"&C2-1) but that didn't work...I need to get the value of C2 and then subtract 1. Any ideas?
 
Upvote 0
=INDIRECT("A"&C2+1) should work. If C2 contains 12, then you can use that to give you A13.

In my first post, B1 should contain =INDIRECT("A"&C1), I'm sure you worked that out.
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,152
Members
452,891
Latest member
JUSTOUTOFMYREACH

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
Back
Top