![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
I need to take a list of numbers and then shuffle them...I am creating lane assignments for a track meet and I need to take athletes and randomly assign them to lanes 1-9. any help would be appreciated
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Enter 1 thru 9 in cells A1:A9. Enter =RAND() in B1 and copy down to B9. Sort this list on column B.
Or... Enter =RAND() in A1:A9. Enter =RANK(A1,$A$1:$A$9) into B1 and copy down to B9. Repeatedly, recalculate the worksheet to "shuffle" the lane assignments. [ This Message was edited by: Mark W. on 2002-04-17 09:03 ] |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
Thanks!!
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
This is still not working for me...I have a good deal of information grouped together (athlete name, grade, school, time) and I want to assign that entire group a random lane number...I have a sample file, is there anyway I could attatch the file to this board and have someone take a look at it?
|
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
|
|
#6 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
Exactly. I have student name in column A, grade in column B...ect. then the times are listed in column E. I need to randomly assign lanes to these athletes, but obviously I would like to group all of the information together so I don't have to retype everything. does this help clarify? thanks for the help!
|
|
|
|
|
|
#7 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
|
|
#8 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
PERFECT!!
thank you so much. I have been banging my head against the wall on this one...you are an Excel Wizard. Thanks a bunch. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|