Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to copy a formula but I want to keep the row the same and have
the column incrament by one. Here is an example of what I would like excel to do when I copy the formula to the cells below. =+Sheet4!B3 =+Sheet4!C3 =+Sheet4!D3 =+Sheet4!E3 Instead it does this. =+Sheet4!B3 =+Sheet4!B4 =+Sheet4!B5 =+Sheet4!B6 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could do it this way:
=INDIRECT("Sheet4!"&CHAR(ROW(A1)+65)&"3") This will start at column B and will work up to column Z - just copy it down. Hope this helps. Pete On Jan 21, 12:16*am, Craig wrote: I am trying to copy a formula but I want to keep the row the same and have the column incrament by one. Here is an example of what I would like excel to do when I copy the formula to the cells below. =+Sheet4!B3 =+Sheet4!C3 =+Sheet4!D3 =+Sheet4!E3 Instead it does this. =+Sheet4!B3 =+Sheet4!B4 =+Sheet4!B5 =+Sheet4!B6 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe...
=+INDIRECT(ADDRESS(3,ROWS($1:2),4,1,"Sheet4")) Ken Johnson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Ken,
This works perfectly. Could you explain a little bit about the ROWS($1:2) part of it. I know it refers to the column_num part of the ADDRESS command. I just don't quite understand how it works. Thanks, Craig "Ken Johnson" wrote: Maybe... =+INDIRECT(ADDRESS(3,ROWS($1:2),4,1,"Sheet4")) Ken Johnson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Craig,
ROWS($1:2) returns the number of rows in the range $1:2 which is 2 (row 1 and row 2). The column is then the 2nd column or column B. When the formula is filled down to the next row it changes to ROWS ($1:3) since the $ freezes the 1 and the 2 without the $ is incremented to 3. Then ROWS($1:3) returns 3 (rows 1, 2 and 3) and the column is then the 3rd column or column C. And so on down the column. Hope this makes sense. Ken Johnson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy a Formula from a Column to a Row | Excel Discussion (Misc queries) | |||
COPY FORMULA DOWN A COLUMN | Excel Discussion (Misc queries) | |||
copy formula down a column and have cell references change within formula | New Users to Excel | |||
How do I copy a formula all the way down a column........ | Excel Worksheet Functions | |||
Copy a formula down a column | Excel Worksheet Functions |