Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Copy Indirect down a column

I have a column of cells that import there values from another worksheet with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of entries
i would do it manualy but there are about 4500 of them. i was hoping to use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
Default Copy Indirect down a column

Assuming you are displaying your first result in row 1 and the next one in
row 7, try the following:

=IF(ROW()-(INT(ROW()/6)*6)=1,INDIRECT(CONCATENATE("Sheet2!A",(INT(ROW()/6)+1))),"")

Andrea Jones
www.allaboutoffice.co.uk

"Picman" wrote:

I have a column of cells that import there values from another worksheet with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of entries
i would do it manualy but there are about 4500 of them. i was hoping to use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Copy Indirect down a column

actually the first cell is in row 3 and the next is in row 9 etc. i tried
your formula and it returned nothing.

"Andrea Jones" wrote:

Assuming you are displaying your first result in row 1 and the next one in
row 7, try the following:

=IF(ROW()-(INT(ROW()/6)*6)=1,INDIRECT(CONCATENATE("Sheet2!A",(INT(ROW()/6)+1))),"")

Andrea Jones
www.allaboutoffice.co.uk

"Picman" wrote:

I have a column of cells that import there values from another worksheet with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of entries
i would do it manualy but there are about 4500 of them. i was hoping to use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
Default Copy Indirect down a column

In that case use

=IF(ROW()-(INT(ROW()/6)*6)=3,INDIRECT(CONCATENATE("Sheet1!A",(INT(ROW()/6)+1))),"")

You just need to change the number before INDIRECT to whichever row you're
starting on.

Andrea

"Picman" wrote:

actually the first cell is in row 3 and the next is in row 9 etc. i tried
your formula and it returned nothing.

"Andrea Jones" wrote:

Assuming you are displaying your first result in row 1 and the next one in
row 7, try the following:

=IF(ROW()-(INT(ROW()/6)*6)=1,INDIRECT(CONCATENATE("Sheet2!A",(INT(ROW()/6)+1))),"")

Andrea Jones
www.allaboutoffice.co.uk

"Picman" wrote:

I have a column of cells that import there values from another worksheet with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of entries
i would do it manualy but there are about 4500 of them. i was hoping to use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Copy Indirect down a column

Try this:

=OFFSET(Sheet2!$A$3,(ROWS($1:1)-1)*6,)


"Picman" wrote:

actually the first cell is in row 3 and the next is in row 9 etc. i tried
your formula and it returned nothing.

"Andrea Jones" wrote:

Assuming you are displaying your first result in row 1 and the next one in
row 7, try the following:

=IF(ROW()-(INT(ROW()/6)*6)=1,INDIRECT(CONCATENATE("Sheet2!A",(INT(ROW()/6)+1))),"")

Andrea Jones
www.allaboutoffice.co.uk

"Picman" wrote:

I have a column of cells that import there values from another worksheet with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of entries
i would do it manualy but there are about 4500 of them. i was hoping to use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Copy Indirect down a column

Neither of these worked. Maybe I'm not explaining this properly So I'll try
to clarify it. I'm building the formulas in cell A3, A9, A15, A21 etc in my
results worksheet. The data that I want to retrieve is on another worksheet
named "Prods" where the data is in cell A1 then A2 then A3 etc. I want Cell
A3 On my results worksheet to retrieve the value in A1 from the data
worksheet ("Prods") and A9 to retrieve the value in A2, and A21 to retrieve
the value in A3 etc. And I would like to include the benefits of using the
"indirect" function so that if the values change or rows are added I want
these cells to always pull the value in the cell designated. I gues if i had
to i could insert 5 blank rows between all of the data on the "Prods"
worksheet but that seems in

"Teethless mama" wrote:

Try this:

=OFFSET(Sheet2!$A$3,(ROWS($1:1)-1)*6,)


"Picman" wrote:

actually the first cell is in row 3 and the next is in row 9 etc. i tried
your formula and it returned nothing.

"Andrea Jones" wrote:

Assuming you are displaying your first result in row 1 and the next one in
row 7, try the following:

=IF(ROW()-(INT(ROW()/6)*6)=1,INDIRECT(CONCATENATE("Sheet2!A",(INT(ROW()/6)+1))),"")

Andrea Jones
www.allaboutoffice.co.uk

"Picman" wrote:

I have a column of cells that import there values from another worksheet with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of entries
i would do it manualy but there are about 4500 of them. i was hoping to use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Copy Indirect down a column

=OFFSET(Sheet2!A$1,(ROW(A1)-1)/6,) and copy into your cells 6 rows apart.
--
David Biddulph

"Picman" wrote in message
...
I have a column of cells that import there values from another worksheet
with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of
entries
i would do it manualy but there are about 4500 of them. i was hoping to
use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Copy Indirect down a column

Andrea's message from 15:33 yesterday does the job, subject to changing the
sheet reference to match your sheet name.

=IF(ROW()-(INT(ROW()/6)*6)=3,INDIRECT(CONCATENATE("Prods!A",(INT(ROW()/6)+1))),"")
--
David Biddulph

"Picman" wrote in message
...
Neither of these worked. Maybe I'm not explaining this properly So I'll
try
to clarify it. I'm building the formulas in cell A3, A9, A15, A21 etc in
my
results worksheet. The data that I want to retrieve is on another
worksheet
named "Prods" where the data is in cell A1 then A2 then A3 etc. I want
Cell
A3 On my results worksheet to retrieve the value in A1 from the data
worksheet ("Prods") and A9 to retrieve the value in A2, and A21 to
retrieve
the value in A3 etc. And I would like to include the benefits of using the
"indirect" function so that if the values change or rows are added I want
these cells to always pull the value in the cell designated. I gues if i
had
to i could insert 5 blank rows between all of the data on the "Prods"
worksheet but that seems in

"Teethless mama" wrote:

Try this:

=OFFSET(Sheet2!$A$3,(ROWS($1:1)-1)*6,)


"Picman" wrote:

actually the first cell is in row 3 and the next is in row 9 etc. i
tried
your formula and it returned nothing.

"Andrea Jones" wrote:

Assuming you are displaying your first result in row 1 and the next
one in
row 7, try the following:

=IF(ROW()-(INT(ROW()/6)*6)=1,INDIRECT(CONCATENATE("Sheet2!A",(INT(ROW()/6)+1))),"")

Andrea Jones
www.allaboutoffice.co.uk

"Picman" wrote:

I have a column of cells that import there values from another
worksheet with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference
data on
"sheet 2" is in a column with no spaces. If it were only a couple
of entries
i would do it manualy but there are about 4500 of them. i was
hoping to use
an "indirect" function but i don't seem to be able to copy the
formula and
have the cell reference progress down the list, it copies the same
cell
reference into all copied cells.



  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Copy Indirect down a column

That worked perfectly, thank you very much

"David Biddulph" wrote:

=OFFSET(Sheet2!A$1,(ROW(A1)-1)/6,) and copy into your cells 6 rows apart.
--
David Biddulph

"Picman" wrote in message
...
I have a column of cells that import there values from another worksheet
with
simple formula;
=sheet2!a1
=sheet2!a2
=sheet2!a3, etc.

The problem is that these cells are 6 rows apart and the reference data on
"sheet 2" is in a column with no spaces. If it were only a couple of
entries
i would do it manualy but there are about 4500 of them. i was hoping to
use
an "indirect" function but i don't seem to be able to copy the formula and
have the cell reference progress down the list, it copies the same cell
reference into all copied cells.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Indirect function €“ relative column copy/paste Gary T Excel Worksheet Functions 1 September 24th 08 02:52 PM
Find ROW(INDIRECT()) wo the column letters nastech Excel Discussion (Misc queries) 5 August 8th 07 05:56 PM
Indirect with COLUMN JEFF Excel Worksheet Functions 9 April 24th 07 10:03 PM
copy down an indirect formula Joeb Excel Worksheet Functions 3 January 10th 06 02:29 AM
INDIRECT Function impact on Copy Worksheet BG Excel Worksheet Functions 5 July 13th 05 02:29 AM


All times are GMT +1. The time now is 06:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"