Is there a way of randomly assigning number 1 or 2 for a total of 60 students so 30 would be 1 and 30 would be 2.
ltkaku -
One way is to enter =RAND() in an adjacent helper column, select the data in
all columns, and sort (Data | Sort ...) using the random numbers as the key.
Then assign 1 to the top 30 students and 2 to the other 30.
- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel
> Is there a way of randomly assigning number 1 or 2 for a total of 60
> students so 30 would be 1 and 30 would be 2.
PhilD - 13 Mar 2008 09:30 GMT
> One way is to enter =RAND() in an adjacent helper column, select the data in
> all columns, and sort (Data | Sort ...) using the random numbers as the key.
>
> Then assign 1 to the top 30 students and 2 to the other 30.
... and if you don't like the random results, just sort again. The
random number is recalculated each time so you don't need to enter the
formula again.
PhilD
--
<><