Help on Selecting Random Teams

VinceF

Board Regular
Joined
Sep 22, 2007
Messages
199
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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,224,814
Messages
6,181,124
Members
453,021
Latest member
Justyna P

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