View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default Randomly Choose Cells from Colum/Row

Another variation to try ..

Assume the 10 source items are listed in A1:A10

Put in B1: =RAND()
Copy B1 down to B10

Put in C1: =INDEX(A:A,RANK(B1,$B$1:$B$10))
Copy C1 down to C3

C1:C3 will return a random, non-repeating selection
of 3 items from within A1:A10

And if you want to random select more than 3 items,
just copy C1 down further to C4, C5, .. or all the way to C10
to get the random full scramble of what's in A1:A10

To regenerate a fresh random selection, just press F9
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"J" wrote in message
...
hello. i'm not sure if this is possible, but i'm trying to randomly select
multiple cells from a colum to be evaluated. for example, say i have a

clumn
of 10 cells. i'd like this function in another cell to select 3 cells from
the 10 at random. is this possible? thanks