Copy every nth line from one sheet to another

前端 未结 8 2009
时光取名叫无心
时光取名叫无心 2020-12-07 13:48

I have an Excel spreadsheet with 1 column, 700 rows. I care about every seventh line. I don\'t want to have to go in and delete the 6 rows between each row I care about. So

8条回答
  •  旧巷少年郎
    2020-12-07 14:22

    If your original data is in column form with multiple columns and the first entry of your original data in C42, and you want your new (down-sampled) data to be in column form as well, but only every seventh row, then you will also need to subtract out the row number of the first entry, like so:

    =OFFSET(C$42,(ROW(C42)-ROW(C$42))*7,0)
    

提交回复
热议问题