Random selection of text cells

G

Guest

Hey,
I have a list in colum A of 300, three letter codes eg BHP.
I want to generate a list of 50 random codes generated from the original 300.
If someone coudl show me a step by step process of which formulas to put
where it would be greatly appreciated.

Thanks
 
B

Biff

The easiest way to do this:

Assume your codes are in the range A1:A300.

Enter this formula in B1 and copy down to B300:

=RAND()

Now, select the range A1:B300 and do a sort on column B (either ascending or
descending, it doesn't matter)

Use A1:A50 as your 50 random selections.

If you want another 50, just repeat the sort.

Biff
 

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