Insert numbers 1 - 20 in A1:A20
In B1:
=RAND(A1)
Copy down to B20
In C1:
=INDEX($A$1:$A$20,RANK(B1,$B$1:$B$20),1)
Copy down to C20
But note that RAND is volatile and the result will change each time
the sheet recalculates.
You can use Copy > Edit > Paste Special > Values > OK
Alternatively:
D1:
=C1
Copy down to D20
Apply Copy > Edit > Paste Special > Values > OK to D120
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
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.