A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Let us keep things simple and assume you have your numbers in column A from A1 to A? wherever.
Now we need 3 control variables:
B1: First
C1: 17
B2: Interval
C2: 3
B3: Count
C3: =COUNTA(A:A)
As next we use column E as helper column to calculate the row numbers in column A. The first row is as in C1
E1: =$C$1
The second is the interval below, but if we are over the end we have to subtract the amount of numbers:
E2: =E1+$C$2-IF(E1+$C$2>$C$3,$C$3,0)
Drag the formula down till the end of your data in column A
Finally get the numbers from column A into column F
F1: =INDEX(A:A,E1)
Drag the formula down till the end of your data in column A
Andreas.