Copy cell from every nth row

…衆ロ難τιáo~ 提交于 2020-02-24 04:17:36

问题


I'd like to grab the names in every person's name from this google spreadsheet and put it into a new column. The names will be every nth row.


回答1:


Alternatively, also try:

=filter(A2:A, mod(row(A2:A)+1,3)=0)



回答2:


In B2 please try:

=offset(A$1,3*(row()-1)-2,)  

As the formula is copied down the offset row relative to A1 increases by three, with no column offset. In the second (starting row) 3*(2-1)-2 is 1 so the A2 value is returned. In the second output row 3*(3-1)-2 returns 4, so the A5 value is returned, and so on.



来源:https://stackoverflow.com/questions/31760843/copy-cell-from-every-nth-row

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!