Reputation: 3
How can I output a cell's value every nth rows
Example every 3 rows:
Upvotes: 0
Views: 1087
Reputation: 68
Offset is relatively simple. To get an index that increases by 1 every three rows just ROUNDDOWN the ROW address by three
=OFFSET($C$2,ROUNDDOWN(ROW(A1),0)/3,0)
Upvotes: 0
Reputation: 5852
Put this formula in A2
:
=ArrayFormula(FLATTEN(SPLIT(REPT(C2:C4&"♦︎",3),"♦︎")))
Upvotes: 0