+ Reply to Thread
Results 1 to 5 of 5

Formula for game needed

  1. #1
    Registered User
    Join Date
    06-10-2009
    Location
    Phoenix
    MS-Off Ver
    Excel 2007
    Posts
    3

    Formula for game needed

    There is a game I play that has 9 possible outcomes per round, and is played for 6 rounds. I have come up with a way to represent all 531,441 possible games, but I need a way to figure out the final score for each game representation.

    Basically, I have a spreadsheet (made with Excel 2007) that contains rows of 6 cells. Each cell contains a number (from 1-9) to represent the outcome of that round. The row of 6 cells represents a full game. What I need is a formula for the 7th and 8th cells to represent the final score, by adding up the scores from each round, for each side.

    A "1" represents a score of 3 being added to the score for player "A" and a score of 2 being added to the score for player "B."

    A "2" represents a score of 5 being added to the score for player "B."

    A "3" represents a score of 3 being held in reserve for the winner of the next round (NOTE: in the next round, the "winner" is the person given the most points that round... if they are given the same number of points, an additional 3 points is reserved for the winner of the next round).

    A "4" represents a score of 5 being added to the score for player "A."

    A "5" represents a score of 2 being added to the score for player "A" and a score of 5 being added to the score for player "B."

    A "6" represents a score of 2 being added to the score for player "A," a score of 2 being added to the score for player "B," and a score of 3 being held in reserve for the winner of the next round.

    A "7" represents a score of 5 being added to the score for player "A" and a score of 2 being added to the score for player "B."

    An "8" represents a score of 2 being added to the score for player "A" and a score of 3 being added to the score for player "B."

    A "9" represents a score of 2 being added to the score for player "A," a score of 2 being added to the score for player "B," and a score of 3 being held in reserve for the winner of the next round.

    Any help would be appreciated.

    DMW

  2. #2
    Forum Contributor kraljb's Avatar
    Join Date
    05-26-2004
    Location
    Illinois
    MS-Off Ver
    2007 (recent change)
    Posts
    256

    Re: Formula for game needed

    A couple of questions to help me understand...

    What is the difference between "6" and "9"?

    What happens if in Round 6 Someone gets a "3" "6" or "9"?

    Thanks,
    John

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,658

    Re: Formula for game needed

    Can you upload example and explain in it what you want to do?

  4. #4
    Registered User
    Join Date
    06-10-2009
    Location
    Phoenix
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula for game needed

    Quote Originally Posted by kraljb View Post
    A couple of questions to help me understand...

    What is the difference between "6" and "9"?
    Aside from the circumstances that led to each... absolutely nothing. The only difference is in the circumstances, not the score.

    What happens if in Round 6 Someone gets a "3" "6" or "9"?
    I forgot about that. Basically, any points already held in reserve - along with those that are about to be held for future rounds - simply disappear... they are not awarded to any player.

    DMW

  5. #5
    Registered User
    Join Date
    06-10-2009
    Location
    Phoenix
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula for game needed

    Quote Originally Posted by zbor View Post
    Can you upload example and explain in it what you want to do?
    Sure.

    Suppose you have a formula in the 7th and 8th cells (after the 6 cells that represent how the game went) that show the scores for "player A" and "Player B." Suppose further that in the first six cells you find 7, 2, 9, 8, 5, and 7. With the 7 in the first cell, the score for "player A" vs. "player B" becomes 5:2. With the 2 in the second cell, the score becomes 5:7. With the 9 in the third cell, the score becomes 7:9, with the computer holding 3 extra points. with the 8 in the fourth cell, the score becomes 9:15 (because the 2:3 score addition, plus the extra 3 points for the winner makes a 2:6 score addition). With the 5 in the fifth cell, the score becomes 11:20. With the 7 in the last cell, the score becomes 16:22.

    Does this help?

    DMW

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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