copy and paste formula vertically but change row not column

wickitom

New Member
Joined
May 21, 2010
Messages
16
lets say I have this formula

=Conc!C8

basically all it is, is just taking whatever is in worksheet "Conc" in cell C8
but what I need to do when I copy and paste that formula down is instead of changing the number from 8 to 9, I need it to change the row from "C" to "D"

Using Transpose doesn't work.

Any thoughts?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
this is kind of dodgy, but it works if you dont have too many to do, and theres prolly a better way.

i select the cell i want to copy and fill it to the right, then drag each populated cell into position in the column. its slow, but at least your not typing too much.

there may be a copy/paste special(transpose) that does it as well?
 
Upvote 0
Well first, C and D are columns, not rows. 8 and 9 are rows...
But that's neither here nor there...just FYI

Try this to start with C8
changes to D8 then E8 as it's copied/filled down.

=INDEX($8:&8,ROWS(A$1:A3))

Hope that helps.
 
Upvote 0
yea sorry on that column, row thing, my mind was wondering.

=INDEX($8:&8,ROWS(A$1:A3))


doesn't work, it just tells me that the formula is wrong
 
Upvote 0
A couple of points about jonmo1's formula.

1. You have probably already realised but to suit your description you would have to point it at sheet 'Conc' as follows
=INDEX(Conc!$8:$8,ROWS(A$1:A3))

2. In my opinion the formula is risky since inserting a column early in sheet 'Conc' or a row early in the sheet the formula is on will return unexpected results.

I believe something like this for your first cell is more robust.

=INDEX(Conc!$C$8:$Z$8,ROWS(F$5:F5))

where

- the F5 is the address of the cell that this first formula is in
- you may need to alter the Z to ensure the range in sheet 'Conc' is big enough.
 
Upvote 0
A couple of points about jonmo1's formula.

1. You have probably already realised but to suit your description you would have to point it at sheet 'Conc' as follows
=INDEX(Conc!$8:$8,ROWS(A$1:A3))

2. In my opinion the formula is risky since inserting a column early in sheet 'Conc' or a row early in the sheet the formula is on will return unexpected results.

I believe something like this for your first cell is more robust.

=INDEX(Conc!$C$8:$Z$8,ROWS(F$5:F5))

where

- the F5 is the address of the cell that this first formula is in
- you may need to alter the Z to ensure the range in sheet 'Conc' is big enough.

Thank You, this works.
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,822
Members
452,946
Latest member
JoseDavid

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