Put the numbers 1 through 25 in A1:A25. Put this in B1 and copy down
to B25:
=RAND()
Select any cell in the A1:B25 and choose Data/Sort. Sort on column B
(ascending or descending, doesn't matter) with no headers. If you
need to save the sequence copy A1:A25 to a different location.
Since RAND() will recalculate after the sort, you can get another
random sequence by choosing Data/Sort again.
Since RandBetween() will produce duplicates within a data set, it
doesn't meet the OP's criterion of "simulating pulling the numbers 1
through 25 out of a hat"
then sort both columns using the column with the formula as a key.
This will give you a rand pick of the 25 numbers.
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.