Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Have two columns. First column Contains the random number. Next column has
the numbers 1 to 36,000. Then sort by the random numbers. The number 1 to 36,000 wil be now be random. "Ryan" wrote: 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) |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In A1 thru A36000 enter 1 thru 36000. In B1 thru B36000 enter:
=RAND() Sort cols A & B by col B. This will "shuffle" the values in column A. If you want 5 sample with no repeats, just pick the top 5 in column A. If you want 10 samples with no repeats, just pick the top 10 in column A.......etc. -- Gary''s Student - gsnu200784 "Ryan" wrote: 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) |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() The free "Special Randoms" workbook will do that. Enter minimum and maximum numbers allowed and set size. Numbers added to a new workbook - copy and paste where you want. No registration required. Download from the Products page at my website ... http://www.realezsites.com/bus/primitivesoftware -- Jim Cone Portland, Oregon USA (Excel Add-ins / Excel Programming) "Ryan" wrote in message 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) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
random number generation | Excel Discussion (Misc queries) | |||
random number generation | Excel Worksheet Functions | |||
random number generation | Excel Worksheet Functions | |||
I need help with random number generation | Excel Worksheet Functions | |||
random number generation | Excel Worksheet Functions |