Copy values from nth row from column on other sheet

BKGLTS

Board Regular
Joined
Aug 27, 2018
Messages
82
Hello,

I have found a few different solutions online for this that seem quite simple but just won't work for me. I need help please.
I have a column (F) of values, text, and blanks on Sheet1 that I need to copy the values of every 5th row into a new list on Sheet2 starting with F3.

I have this on Sheet1 column F:

F1=Header
F2valuesr
F3=8
F4=(blank)
F5=Description
F6=(blank)
F7=(blank)
F8=16
F9=(blank)
F10=Description
F11=(blank)
F12=(blank)
F13=5
etc...

On Sheet2 I want this:
D2=8
D3=16
D4=5
etc...

Thank you!
 
Please show us the formula. I do not like clicking on links.

Starting at 1

If you want to start copying at the first row, then follow the every nth pattern, you can adjust the formula like this:

=OFFSET($B$5,(ROW(A1)-1)*n,0)

Starting at Nth

To copy values or generate references with a pattern like every 3rd row, every 7th line, etc. you can use a formula based on the the OFFSET and ROW functions. In the example shown, the formula in D5 is:

=OFFSET($B$5,(ROW(D1)*3)-1,0)
 
Last edited:
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Thanks.
Starting at 1

If you want to start copying at the first row, then follow the every nth pattern, you can adjust the formula like this:

=OFFSET($B$5,(ROW(A1)-1)*n,0)

Starting at Nth

To copy values or generate references with a pattern like every 3rd row, every 7th line, etc. you can use a formula based on the the OFFSET and ROW functions. In the example shown, the formula in D5 is:

=OFFSET($B$5,(ROW(D1)*3)-1,0)
 
Upvote 0
What part of this formula specifies how many rows to skip before copying the next number? I need to be able to specify how many rows to skip please.
:banghead: I commented about missing the skip rows requirement for my my macro
and then turned around and posted a formula that ignored the requirement.:banghead:
 
Upvote 0
Starting at 1

If you want to start copying at the first row, then follow the every nth pattern, you can adjust the formula like this:

=OFFSET($B$5,(ROW(A1)-1)*n,0)

Starting at Nth

To copy values or generate references with a pattern like every 3rd row, every 7th line, etc. you can use a formula based on the the OFFSET and ROW functions. In the example shown, the formula in D5 is:

=OFFSET($B$5,(ROW(D1)*3)-1,0)

OFFSET is a Volatile function... you can make your formulas non-Volatile by using the INDEX function instead...

Starting at 1: =INDEX(B:B,ROWS($1:1)*n)

Starting at Nth: =INDEX(B:B,ROWS($1:1)*n+n-1)

Note: I changed the Row(A1) from your posted formula to ROWS($1:1) as it should be better at protecting the formula's cell references against deleting (or inserting) of rows should you ever need to do that in the future.
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,025
Members
452,542
Latest member
Bricklin

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