View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ryan Ryan is offline
external usenet poster
 
Posts: 124
Default Random number generation - with no repeats

I want to generate a list of random numbers (36,000 of them) such that no two
are alike. I know how to do the random part [=RAND()*(b-a)+a] for random
numbers between a and b. Do you know how to ensure no two are alike?

I'm currently using the following formula

=ROUND(RAND()*(36000-0)+0,0)