Help on Selecting Random Teams

VinceF

Board Regular
Joined
Sep 22, 2007
Messages
172
Office Version
  1. 2016
Platform
  1. Windows
Thanks for any assistance..
I'm trying to make 8 four person teams by random selection. I'm able to randomly set a team assignment but need help to bring the individuals into the corresponding teams.

Excel 2016

VinceF

Loon Master Golf Program 3-27-23.xlsm
BCDEFGHIJKLMNOPQRST
1
2PLAYERS PER TEAM4
3
4TEAMTEAMTEAMTEAMTEAMTEAMTEAMTEAM
5PLAYERINDEXABILITYRANDOMRANKGROUPINGTEAM12345678
6TY2.8A0.66503171.752#N/A
7KELLY3.1A0.68002961.52#N/A
8MARTIN3.5A0.0544482466#N/A
9MONEY4.0A0.239187184.55#N/A
10RON4.1A0.056927235.756
11MUELS4.6A0.838302411
12ANTHONY5.0B0.69215151.252
13SCOOTER5.0B0.96578710.251
14TREVOR5.0B0.542113102.53
15WALT5.4B0.87626330.751
16JAKE5.8B0.410103112.753
17BRET6.0B0.3204271644
18WOODY6.4C0.205866194.755
19DREW6.5C0.56397192.253
20JUSTIN7.0C0.147886215.256
21VINNY7.5C0.323723143.54
22UPS MIKE7.6C0.87819520.51
23BONES8.0C0.3364911233
24CIP9.0D0.323042153.754
25DAVE11.0D0.568208822
26BILLY12.0D0.326935133.254
27PAUL14.0D0.073678225.56
28PHIL14.0D0.1857352055
29MIKE S15.3D0.307474174.255
30
31
32
Sheet1
Cell Formulas
RangeFormula
H6:H29H6=RANK(G6,$G$6:$G$29)
I6:I29I6=H6/$I$2
J6:J29J6=CEILING(I6,1)
L6:L9L6=INDEX($J$6:$J$29,MATCH($L$5,$C$6:$C$29,0))
Named Ranges
NameRefers ToCells
_FilterDatabase=Sheet1!$L$5:$S$5L6:L9
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C6:C29Cell ValueduplicatestextNO
C6:C29Cell ValueduplicatestextNO
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
How about
Excel Formula:
=IFERROR(INDEX($C$6:$C$29,AGGREGATE(15,6,(ROW($C$6:$C$29)-ROW($C$6)+1)/($J$6:$J$29=L$5),ROWS(L$6:L6))),"")
 
Upvote 0
Solution
Fluff,

Thank you very much for your assistance, it is working perfectly.

VinceF
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,074
Messages
6,128,649
Members
449,462
Latest member
Chislobog

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top