Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Formula to copy data from every 4th column

Hi

I am trying to create a formula to copy data from one workbook to another.
The problem I have is that I want to copy only relevant data which is in
every 4th column.

So in cell A1 (destination sheet) I copy from A1 then A2 I want to copy from
A6, then A3 I want to copy from A10 and so on. Then the same for numerous
rows.

I need a formula that I can drag across so that I don't have to type a
formula for each instance because I will be using all available columns.

Hope that makes sense and someone can help. Thanks in anticipation!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default Formula to copy data from every 4th column

a1=INDIRECT("sheet1!a"&2+(ROW()-1)*4) copy down the formula
it copies the value of sheet1-a2 first, sheet1-a6, a10, ..
with regards
sreedhar

"HighlandRoss" wrote:

Hi

I am trying to create a formula to copy data from one workbook to another.
The problem I have is that I want to copy only relevant data which is in
every 4th column.

So in cell A1 (destination sheet) I copy from A1 then A2 I want to copy from
A6, then A3 I want to copy from A10 and so on. Then the same for numerous
rows.

I need a formula that I can drag across so that I don't have to type a
formula for each instance because I will be using all available columns.

Hope that makes sense and someone can help. Thanks in anticipation!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Formula to copy data from every 4th column

Thanks Sreedhar.

Sorry I made a mistake. My example should state (i'll be specific this time
as well)

F6 (destination cell) = BY7, G6 = CC7, H6= CG7

The book I am pulling data from is called ABC 2008.08.05 Resource Book and
the sheet is Module 2.

When I tried the formula you gave me it flagged a "Name" error.

"yshridhar" wrote:

a1=INDIRECT("sheet1!a"&2+(ROW()-1)*4) copy down the formula
it copies the value of sheet1-a2 first, sheet1-a6, a10, ..
with regards
sreedhar

"HighlandRoss" wrote:

Hi

I am trying to create a formula to copy data from one workbook to another.
The problem I have is that I want to copy only relevant data which is in
every 4th column.

So in cell A1 (destination sheet) I copy from A1 then A2 I want to copy from
A6, then A3 I want to copy from A10 and so on. Then the same for numerous
rows.

I need a formula that I can drag across so that I don't have to type a
formula for each instance because I will be using all available columns.

Hope that makes sense and someone can help. Thanks in anticipation!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula to copy data from every 4th column

Try this formula, which can start in *any* cell:

=INDEX(7:7,4*COLUMNS($A:A)+73)

And copy across as needed.

You can add your Path.


--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"HighlandRoss" wrote in message
...
Thanks Sreedhar.

Sorry I made a mistake. My example should state (i'll be specific this time
as well)

F6 (destination cell) = BY7, G6 = CC7, H6= CG7

The book I am pulling data from is called ABC 2008.08.05 Resource Book and
the sheet is Module 2.

When I tried the formula you gave me it flagged a "Name" error.

"yshridhar" wrote:

a1=INDIRECT("sheet1!a"&2+(ROW()-1)*4) copy down the formula
it copies the value of sheet1-a2 first, sheet1-a6, a10, ..
with regards
sreedhar

"HighlandRoss" wrote:

Hi

I am trying to create a formula to copy data from one workbook to
another.
The problem I have is that I want to copy only relevant data which is in
every 4th column.

So in cell A1 (destination sheet) I copy from A1 then A2 I want to copy
from
A6, then A3 I want to copy from A10 and so on. Then the same for
numerous
rows.

I need a formula that I can drag across so that I don't have to type a
formula for each instance because I will be using all available columns.

Hope that makes sense and someone can help. Thanks in anticipation!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Formula to copy data from every 4th column

Thanks.

Sorry but how do I add the path to that as I have tried and keep getting
warnings!? Also the data I am copying are the results of other formulas
rather than actual values will that make a difference?

thanks for your help it's much appreciated!!

"RagDyeR" wrote:

Try this formula, which can start in *any* cell:

=INDEX(7:7,4*COLUMNS($A:A)+73)

And copy across as needed.

You can add your Path.


--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"HighlandRoss" wrote in message
...
Thanks Sreedhar.

Sorry I made a mistake. My example should state (i'll be specific this time
as well)

F6 (destination cell) = BY7, G6 = CC7, H6= CG7

The book I am pulling data from is called ABC 2008.08.05 Resource Book and
the sheet is Module 2.

When I tried the formula you gave me it flagged a "Name" error.

"yshridhar" wrote:

a1=INDIRECT("sheet1!a"&2+(ROW()-1)*4) copy down the formula
it copies the value of sheet1-a2 first, sheet1-a6, a10, ..
with regards
sreedhar

"HighlandRoss" wrote:

Hi

I am trying to create a formula to copy data from one workbook to
another.
The problem I have is that I want to copy only relevant data which is in
every 4th column.

So in cell A1 (destination sheet) I copy from A1 then A2 I want to copy
from
A6, then A3 I want to copy from A10 and so on. Then the same for
numerous
rows.

I need a formula that I can drag across so that I don't have to type a
formula for each instance because I will be using all available columns.

Hope that makes sense and someone can help. Thanks in anticipation!






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula to copy data from every 4th column

If you spelled everything right, and put the spaces in the right places in
your example, this should work:

=INDEX('[ABC 2008.08.05 Resource Book.xls]Module 2'!7:7,4*COLUMNS($A:A)+73)

This of course assumes that both WBs are in the same folder.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"HighlandRoss" wrote in message
...
Thanks.

Sorry but how do I add the path to that as I have tried and keep getting
warnings!? Also the data I am copying are the results of other formulas
rather than actual values will that make a difference?

thanks for your help it's much appreciated!!

"RagDyeR" wrote:

Try this formula, which can start in *any* cell:

=INDEX(7:7,4*COLUMNS($A:A)+73)

And copy across as needed.

You can add your Path.


--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"HighlandRoss" wrote in message
...
Thanks Sreedhar.

Sorry I made a mistake. My example should state (i'll be specific this
time
as well)

F6 (destination cell) = BY7, G6 = CC7, H6= CG7

The book I am pulling data from is called ABC 2008.08.05 Resource Book
and
the sheet is Module 2.

When I tried the formula you gave me it flagged a "Name" error.

"yshridhar" wrote:

a1=INDIRECT("sheet1!a"&2+(ROW()-1)*4) copy down the formula
it copies the value of sheet1-a2 first, sheet1-a6, a10, ..
with regards
sreedhar

"HighlandRoss" wrote:

Hi

I am trying to create a formula to copy data from one workbook to
another.
The problem I have is that I want to copy only relevant data which is
in
every 4th column.

So in cell A1 (destination sheet) I copy from A1 then A2 I want to
copy
from
A6, then A3 I want to copy from A10 and so on. Then the same for
numerous
rows.

I need a formula that I can drag across so that I don't have to type
a
formula for each instance because I will be using all available
columns.

Hope that makes sense and someone can help. Thanks in anticipation!






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
how do i copy data and formula from a column to a row in another? john.laffe Excel Worksheet Functions 1 December 11th 07 06:28 PM
Copy a formula into a blank column only to the last data row Kebbon Excel Worksheet Functions 4 August 16th 07 11:43 PM
Copy Sum formula to different row but use same column data jefe96 Excel Worksheet Functions 3 March 23rd 07 02:31 PM
Howdo U copy a formula down a column, that uses data in another w. Need Help pasting a formula Excel Worksheet Functions 1 February 25th 05 06:04 PM
Howdo U copy a formula down a column, that uses data in another w. brantty Excel Worksheet Functions 0 February 25th 05 10:11 AM


All times are GMT +1. The time now is 12:25 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"