Select a random sample

G

Guest

How do I randomly select a sample of data (rows), from a given set of large
data in the Excel program?
Example: I have 100 rows of information. I need to randomly select 10% or 10
of the rows from the 100 rowed items and place that information on either
another worksheet or another blank area of the existing worksheet.
 
P

Peo Sjoblom

Use a help column, assume the data is in A2:A101, insert and adjacent column
and in B2 put

=RAND()


copy down to B101, select both columns and do data>sort and sort by column
B, select the first 10 rows in A and copy
to a new workbook, save the new workbook, close the workbook with the help
column without saving to get back to it's
original state.


Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top