+ Reply to Thread
Results 1 to 5 of 5

Randomize the teams

  1. #1
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Racine, wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    225

    Randomize the teams

    Hi again all

    I can't even begin to figure out a schedule for the 20 teams I have in my pool league.
    I just can't seem to figure it out, they place each of the teams twice, once at home and once away.

    any ideas how to randomize that?

    Thanks
    Keith
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Randomize the teams

    list all 20 teams in a column A in rows 1 to 20

    enter a random number in the next column

    Please Login or Register  to view this content.
    sort by the random number

    Delete the list of random numbers

    copy your list across 18 columns offsetting by one row in each column.

    this formula will do that for you/

    Please Login or Register  to view this content.
    You have a table that shows the order of matches for the team listed in column A.

    Lets say that that is the teams home matches.

    Create another table following the same process for the away matches,
    Attached Files Attached Files
    Last edited by mehmetcik; 07-11-2014 at 05:18 PM.

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Randomize the teams

    Not sure if this solves anything, but it makes random numbers!

    Random Even number between 1-20
    Please Login or Register  to view this content.
    Random Odd Number between 1-20
    Please Login or Register  to view this content.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Randomize the teams

    Not sure if I understand what you want, but try this...

    I created a table off to the side like this...
    AH
    AI
    2
    10647
    1
    3
    36047
    2
    4
    35969
    3
    5
    54681
    4
    6
    34829
    5
    7
    22588
    6
    8
    64175
    7
    9
    91013
    8
    10
    87483
    9
    11
    30058
    10

    AH2=RAND()*100000
    I only copied down to 10, but it goes down to 20

    Then in A10, copied down...
    =VLOOKUP(LARGE($AH$2:$AH$21,MOD(ROW(A1),13)+MOD(ROW(A1),13)*1-2+1),$AH$2:$AI$21,2,0)
    Then copy this to C10, and copy down...
    =VLOOKUP(LARGE($AH$2:$AH$21,MOD(ROW(A1),13)+MOD(ROW(A1),13)*1-2+1),$AH$2:$AI$21,2,0)

    Once you have the 1st 2 sets of columns done, you can copy that "set" to all weeks
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Racine, wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    225

    Re: Randomize the teams

    sorry guys I was gone in a fishing tournament, but so far were close.

    its probably the way I'm explaining it, 20 TEAMS, they have to play each other twice, once at HOME and once AWAY.

    I can't find any team generators for excel, so am hoping someone could make some type of formula that will work,
    below is the current schedule we use, but its not made from an excel based program, I know there is only 32 weeks
    shown, its because we cut off the weeks we didn't need at the end, its not quite a fair schedule since some teams don't
    play some of the teams twice. but we ended up with extra teams and didn't have the heart to tell them they couldn't get
    in, and for the program I use for the standings made from excel, I need to have a schedule made from excel to reference
    back to, to show who beat who that week without manually entering it in.

    If I can solve this problem 1st, then I have to repost on how to automatically sort who beat who, and by how many games.
    but that will be a huge challenge, later.

    HTML Code: 
    Thanks
    Keith

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Two columns of teams, count the number of times the teams meet?
    By tpe102 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2013, 09:21 AM
  2. 80 teams 25 weeks teams no dups over 25 weeks
    By hzppby in forum Excel General
    Replies: 0
    Last Post: 03-11-2013, 08:19 PM
  3. Randomize
    By Valkyrie1981 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2010, 11:27 AM
  4. Randomize
    By shaun0_0 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-12-2008, 02:24 PM
  5. Randomize
    By Davor ®upaniæ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2005, 02:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1