# copy every nth row from one sheet to another

#### jhicks7474

##### New Member
I think this may have been covered, but I can't get the formula to work properly so am looking for some tips... I am trying to copy formulas and values on every fourth line.

The source data has 4 lines which are then averaged over the 4 - as a result and the way the sheet has been setup the average data is shown every 4th line in the source.

I now need this data to be shown row by row on another sheet for some more calculations:

e.g.
15-Jan 17.9% 33.7% 23.4% 35.6% 180.1 237.3
15-Jan
15-Jan
15-Jan
16-Jan 19.7% 28.0% 25.2% 34.5% 193.0 203.2
16-Jan
16-Jan
16-Jan

and I want the following to be shown on the next sheet:
15/01/2004 17.9% 33.7% 23.4% 35.6% 180.1 237.3
16/01/2004 19.7% 28.0% 25.2% 34.5% 193.0 203.2

Hopefully this makes sense... I have tried Indirect and Index formulae, but
am probably too thick to use them.
Thanks

### Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

#### DonkeyOte

##### MrExcel MVP
something like?

* assumes Sheet1 holds data - formula below entered in A1

=IF(ROW(A1)=1,Sheet1!A1,INDIRECT("Sheet1!A"&((ROW(A1)-ROW(\$A\$1))*4)+1))

just returns Column A - and can be copied down vertically.

Should get you started.

#### Andrew Poulsom

##### MrExcel MVP
Use something like:

=OFFSET(A\$1,(ROW(A1)-1)*4,0)

Replies
2
Views
135
Replies
2
Views
227
Replies
6
Views
360
Replies
1
Views
148
Replies
7
Views
155

Threads
1,186,908
Messages
5,960,526
Members
438,482
Latest member
Iamatlulu

### 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

### 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