How can I generate 10 sites randomly from a worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a spraedsheet with a large number of data. All I want is to select a
row and generate 10 sites randomly for customer service purposes. I dont want
the sites to be repeated every month.

Thanks,
 
Hi
not sure what you mean with 'sites' in this context. Could you give some
more information?
 
Hi Frank,

Thanks for your email. I have got a column which has got different site
names. I want to use this column to generate 10 random site names which I can
provide it to my customer service who uses these site names for survey. I
want to do this automatically with no duplicates of site names as the months
goes by. Hopefully I am making myself a bit clearer. Hope to hear from you
soon.

Thanks,

Irene
 
How about using another column.

fill it with =rand()

Sort by that column whenever you want. Give the first ten in the list after the
sort.

Recalculate, resort, and give again.
 
Hi Dave,

Can you be a bit clearer of what I need to do. I am not that clear on "sort
by that column whenever you want" and the rest.

Thanks,
 
Hi
- lets assume your names are in A1:A100
- now insert in B1:
=RAND()
and copy this formula down for all rows (down to B100)
- now select the range A1:B100, goto 'Data - sort' and choose to sort with
the second column

Now just pick the first 10 items in column A for your survey
 
Since =Rand() will return a random number to each of the cells in that column,
you could select your range and do Data|sort.

If you sort by that column, your data will be shuffled according to the value
returned in the =rand() cell.

Recalculating will force new values and then resorting will resequence the list.
 

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

Back
Top