How do I create a random sample from a list?

S

swrath

I have a list of inputs and need to be able to fill empty cells with samples
from that list in a random fashion without replacement.
 
R

RagDyeR

With your data list in Y1 to Y25,
Enter in Z1:
=RAND()
And copy down to Z25.

Then try this formula anywhere:

=INDEX($Y$1:$Y$25,RANK(Z1,$Z$1:$Z$25))

And copy down 25 rows ... OR less if need be.
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

I have a list of inputs and need to be able to fill empty cells with samples
from that list in a random fashion without replacement.
 

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