Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With your names in A1 to A76, enter the Rand function in an out-of-the-way
location, say Z1: =RAND() And copy down to Z76. Now, enter this formula in B1: =INDEX(ROW($A$1:$A$76),RANK(Z1,$Z$1:$Z$76)) And copy down to B76. This will give you a random list of numbers next to your name list, without any duplication. EACH time you hit <F9, you'll get a new random list. -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "japc90" wrote in message ups.com... I have a list of names and I want to assign a number (1-76) to each of these names. But I do not want duplicate numbers. I tried RAND and RANDBETWEEN but these formulas are not dependent on the previous formulas so duplicate numbers are being generated. Any suggestion? Thank you in advance! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Addding a Random number to a fixed number..... | Excel Discussion (Misc queries) | |||
How can I match a random number with closest number from sequence? | Excel Worksheet Functions | |||
random assignment of subjects to treatment groupw | Excel Discussion (Misc queries) | |||
Random Assignment of Numbers | Excel Worksheet Functions | |||
How do I find random number in list of random alpha? (Position is. | Excel Discussion (Misc queries) |