Peterg4352
New Member
- Joined
- Mar 18, 2015
- Messages
- 3
20 people go away on a golf trip for 5 days.
Each day has a different "draw" (4 players per group).
The test is that all groups within the trip, must be unique.
I use a random number generator to "randomise" the new groups.
I have tried using this array formulae to test the arrays
={SUM(IF(E10:H10=$E$18:$H$18,1,0))}
The test answer should be greater that 1 if the players on Tuesday have been drawn in the same group on Monday i.e. two players in Monday group 3 are drawn again on Tuesday group 2 but the test indicates that they are not duplicates.
I need some help with the test for duplicates?
[TABLE="width: 906"]
<tbody>[TR]
[TD]Monday[/TD]
[TD]Player 1[/TD]
[TD]Player 2[/TD]
[TD]Player 3[/TD]
[TD]Player 4[/TD]
[TD="align: left"]
<tbody>
</tbody>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group 1[/TD]
[TD]Mr B[/TD]
[TD]Mr L[/TD]
[TD]Mr K[/TD]
[TD]Mr R[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group 2[/TD]
[TD]Mr Q[/TD]
[TD]Mr E[/TD]
[TD]Mr F[/TD]
[TD]Mr J[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group 3[/TD]
[TD]Mr D[/TD]
[TD]Mr M[/TD]
[TD]Mr H[/TD]
[TD]Mr G[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group 4[/TD]
[TD]Mr O[/TD]
[TD]Mr S[/TD]
[TD]Mr I[/TD]
[TD]Mr C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group 5[/TD]
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D]Mr L[/TD]
[TD][/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Group 5[/TD]
[TD]Mr C[/TD]
[TD]Mr R[/TD]
[TD]Mr F[/TD]
[TD]Mr G[/TD]
[TD][/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col span="4"><col span="7"></colgroup>[/TABLE]
Each day has a different "draw" (4 players per group).
The test is that all groups within the trip, must be unique.
I use a random number generator to "randomise" the new groups.
I have tried using this array formulae to test the arrays
={SUM(IF(E10:H10=$E$18:$H$18,1,0))}
The test answer should be greater that 1 if the players on Tuesday have been drawn in the same group on Monday i.e. two players in Monday group 3 are drawn again on Tuesday group 2 but the test indicates that they are not duplicates.
I need some help with the test for duplicates?
[TABLE="width: 906"]
<tbody>[TR]
[TD]Monday[/TD]
[TD]Player 1[/TD]
[TD]Player 2[/TD]
[TD]Player 3[/TD]
[TD]Player 4[/TD]
[TD="align: left"]
<tbody>
</tbody>
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group 1[/TD]
[TD]Mr B[/TD]
[TD]Mr L[/TD]
[TD]Mr K[/TD]
[TD]Mr R[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group 2[/TD]
[TD]Mr Q[/TD]
[TD]Mr E[/TD]
[TD]Mr F[/TD]
[TD]Mr J[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD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