hshayhorn

New Member
Joined
Aug 1, 2013
Messages
12
I have two columns. Column A has a static list of names. Column B has the same names but I need to randomize that list so that those names are in a random order next to the names in column A but the names in column A and B can never match one another. This is to create a list of opponents. Is there an easy way to do this?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
You could sort col A in A-Z order then col B in Z-A order !!
 
Upvote 0
That doesn't randomize the list at all. I need to have random match ups. This needs to be down monthly so your solution is not workable at all.
 
Upvote 0
Ok, so try this then
Remove the names in Col B and insert the RAND() formula that column can then be hidden
then in Col C is the INDEX formula
Pressing F9 will reshuffle the names

Cell Formulas
RangeFormula
B1=RAND()
B2=RAND()
B3=RAND()
B4=RAND()
B5=RAND()
B6=RAND()
B7=RAND()
B8=RAND()
B9=RAND()
B10=RAND()
C1=INDEX($A$1:$A$10,RANK(B1,$B$1:$B$10))
C2=INDEX($A$1:$A$10,RANK(B2,$B$1:$B$10))
C3=INDEX($A$1:$A$10,RANK(B3,$B$1:$B$10))
C4=INDEX($A$1:$A$10,RANK(B4,$B$1:$B$10))
C5=INDEX($A$1:$A$10,RANK(B5,$B$1:$B$10))
C6=INDEX($A$1:$A$10,RANK(B6,$B$1:$B$10))
C7=INDEX($A$1:$A$10,RANK(B7,$B$1:$B$10))
C8=INDEX($A$1:$A$10,RANK(B8,$B$1:$B$10))
C9=INDEX($A$1:$A$10,RANK(B9,$B$1:$B$10))
C10=INDEX($A$1:$A$10,RANK(B10,$B$1:$B$10))
 
Last edited:
Upvote 0
Ok, so try this then
Remove the names in Col B and insert the RAND() formula that column can then be hidden
then in Col C is the INDEX formula
Pressing F9 will reshuffle the names
Excel 2007
ABC
1w0.45288f
2v0.99335w
3n0.24542b
4h0.8936n
5g0.87969h
6f0.02975x
7e0.26704c
8c0.91241v
9b0.84931g
10x0.29331e

<colgroup><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B1=RAND()
C1=INDEX($A$1:$A$10,RANK(B1,$B$1:$B$10))
B2=RAND()
C2=INDEX($A$1:$A$10,RANK(B2,$B$1:$B$10))
B3=RAND()
C3=INDEX($A$1:$A$10,RANK(B3,$B$1:$B$10))
B4=RAND()
C4=INDEX($A$1:$A$10,RANK(B4,$B$1:$B$10))
B5=RAND()
C5=INDEX($A$1:$A$10,RANK(B5,$B$1:$B$10))
B6=RAND()
C6=INDEX($A$1:$A$10,RANK(B6,$B$1:$B$10))
B7=RAND()
C7=INDEX($A$1:$A$10,RANK(B7,$B$1:$B$10))
B8=RAND()
C8=INDEX($A$1:$A$10,RANK(B8,$B$1:$B$10))
B9=RAND()
C9=INDEX($A$1:$A$10,RANK(B9,$B$1:$B$10))
B10=RAND()
C10=INDEX($A$1:$A$10,RANK(B10,$B$1:$B$10))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

That worked! Thank you!
 
Upvote 0

Forum statistics

Threads
1,215,109
Messages
6,123,136
Members
449,098
Latest member
Doanvanhieu

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