ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sports draw (https://www.excelbanter.com/excel-worksheet-functions/50577-sports-draw.html)

Warwick

sports draw
 
I want to set up a Sports Draw for 6 teams. If I list the teams and add the
weekly dates, can I have Excel use a formula to insert the team names?

Martin P

Cells B1 to F1: 1
Cells B2 to B7: the values 2 to 6
Cell C3: =B7
Cell C4: =B3. Copy down to C7.
Copy C2:C7 to C2:F7
Cells A9 to A14: the numbers 1 to 6
Cell B9: =7-MATCH($A9,B$2:B$7,0). Copy to B9:F14
Cell B16: =INDEX(B$2:B$7,B9). Copy to B16:F21
B16:F21 gives the list of opponents for the weeks.


"Warwick" wrote:

I want to set up a Sports Draw for 6 teams. If I list the teams and add the
weekly dates, can I have Excel use a formula to insert the team names?


Karsen


To get this to work I had to make the changes I've indicated below:


Cells B1 to F1: 1

Cells B2 to F2

Cells B2 to B7: the values 2 to 6

Cells B3 to B7: the values 2 to 6

Cell C3: =B7
Cell C4: =B3. Copy down to C7.
Copy C2:C7 to C2:F7
Cells A9 to A14: the numbers 1 to 6
Cell B9: =7-MATCH($A9,B$2:B$7,0). Copy to B9:F14
Cell B16: =INDEX(B$2:B$7,B9). Copy to B16:F21
B16:F21 gives the list of opponents for the weeks.


"Warwick" wrote:

I want to set up a Sports Draw for 6 teams. If I list the teams and add the
weekly dates, can I have Excel use a formula to insert the team names?


Martin P

sports draw
 
You are quite right. I had row 1 as a blank row. Thank you for checking,
pointing out the error and correcting.

"Karsen" wrote:


To get this to work I had to make the changes I've indicated below:


Cells B1 to F1: 1

Cells B2 to F2

Cells B2 to B7: the values 2 to 6

Cells B3 to B7: the values 2 to 6

Cell C3: =B7
Cell C4: =B3. Copy down to C7.
Copy C2:C7 to C2:F7
Cells A9 to A14: the numbers 1 to 6
Cell B9: =7-MATCH($A9,B$2:B$7,0). Copy to B9:F14
Cell B16: =INDEX(B$2:B$7,B9). Copy to B16:F21
B16:F21 gives the list of opponents for the weeks.


"Warwick" wrote:

I want to set up a Sports Draw for 6 teams. If I list the teams and add the
weekly dates, can I have Excel use a formula to insert the team names?




All times are GMT +1. The time now is 11:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com