Copy every nth line from one sheet to another

前端 未结 8 1964
时光取名叫无心
时光取名叫无心 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:37

    Add new column and fill it with ascending numbers. Then filter by ([column] mod 7 = 0) or something like that (don't have Excel in front of me to actually try this);

    If you can't filter by formula, add one more column and use the formula =MOD([column; 7]) in it then filter zeros and you'll get all seventh rows.

    0 讨论(0)
  • 2020-12-07 14:38

    If I were confronted with extracting every 7th row I would “insert” a column before Column “A” . I would then (assuming that there is a header row in row 1) type in the numbers 1,2,3,4,5,6,7 in rows 2,3,4,5,6,7,8, I would highlight the 1,2,3,4,5,6,7 and paste that block to the end of the sheet (700 rows worth). The result will be 1,23,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7……. Now do a data sort ascending on column “A”. After the sort all of the 1’s will be the first in the series, all of the 7’s will be the seventh item.

    0 讨论(0)
提交回复
热议问题