ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I erase all but every 87th row in Excell? (https://www.excelbanter.com/excel-worksheet-functions/28235-how-can-i-erase-all-but-every-87th-row-excell.html)

mlp36

How can I erase all but every 87th row in Excell?
 
I have a single column of data almost 35000 rows long. Most of it is
complete garbage, and only every 87th row is important. What can I do to
make a new column that contains only those 401 rows that are important?

Peo Sjoblom

You can use a help column, assume the data starts in A1 (replace a1 in the
formula with the first cell of your data)

=OFFSET($A$1,ROW(1:1)*87-1,)

copy down as long as needed, select the new column, copy it, do editpaste
special as values in place, delete original column

Regards,

Peo Sjoblom

"mlp36" wrote:

I have a single column of data almost 35000 rows long. Most of it is
complete garbage, and only every 87th row is important. What can I do to
make a new column that contains only those 401 rows that are important?



All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com