ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data Weeding (https://www.excelbanter.com/excel-discussion-misc-queries/92539-data-weeding.html)

Maow

Data Weeding
 
I have a large data file (58000 odd lines worth) and need to weed it down to
half the size. Is there any quick way of deleting all odd or all even lines
from the spreadsheet as I need an overall representation of the data, not
just the first or second half of it. Thankyou

Roger Govier

Data Weeding
 
Hi

One way
Create a helper column with the formula
=MOD(ROW(),2)
Copy down the range of your data by double clicking the fill handle at
the bottom right of the cell.
Then apply a filter DataFilterAutofilter and on the new helper column
select either 1 or 0.

If you do want to delete this data, then mark the range of visible data
by selecting the row numbers, right click and select delete.

--
Regards

Roger Govier


"Maow" wrote in message
...
I have a large data file (58000 odd lines worth) and need to weed it
down to
half the size. Is there any quick way of deleting all odd or all even
lines
from the spreadsheet as I need an overall representation of the data,
not
just the first or second half of it. Thankyou





All times are GMT +1. The time now is 08:51 PM.

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