+ Reply to Thread
Results 1 to 13 of 13

Calculating Win/Loss, knowing total points, number of matches, and point values.

  1. #1
    Registered User
    Join Date
    04-21-2013
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Calculating Win/Loss, knowing total points, number of matches, and point values.

    Hi there, I am probably over thinking this problem, and I am here looking for some help. Basically I want to calculate the number of wins and losses a team has. The known values are their Total Points, how many matches they had, and knowing how much a Win gives and how much a Loss gives. For example, a Win is worth 3 points, and a Loss is worth 1 point. This particular team has a total score of of 31 in 11 matches. I know that this would be 10 wins and 1 loss, but not sure how to calculate it in excel. Thanks again for your time and helping me with this.

  2. #2
    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
    52,938

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Hi and welcome to the forum

    Try this...

    ="this = "&INT(B2/3)&" Wins and "&MOD(B2,3)&" Losses"

    You can remove the text if you want and just use...
    =INT(B2/3) for Wins
    =MOD(B2,3) for Losses
    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

  3. #3
    Registered User
    Join Date
    04-21-2013
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Thanks...That was really simple. Much appreciated.
    Never knew about the MOD() function.

  4. #4
    Registered User
    Join Date
    04-21-2013
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    How about this, a team only has 11 points in 11 matches, meaning they lost all their matches. How would I show this?

  5. #5
    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
    52,938

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    ="this = "&IF(B2=A2,A2&" Losses",INT(B2/3)&" Wins and "&MOD(B2,3)&" Losses")

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    doesnt work with 13 points
    done by 1 win - 10 loses


    previous formula gave 4 wins 1 lose (correct points but not enough matches)

  7. #7
    Registered User
    Join Date
    04-21-2013
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Will it work with just 10 matches? Each win giving 3 points, and each loss giving 1 point.

  8. #8
    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
    52,938

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Quote Originally Posted by humdingaling View Post
    doesnt work with 13 points
    done by 1 win - 10 loses


    previous formula gave 4 wins 1 lose (correct points but not enough matches)
    11 games 10 points could also be 4 wins and 1 loss

  9. #9
    Registered User
    Join Date
    04-21-2013
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Alright, lets make this simple. How about knowing each point value for each of the 10 matches. For example, of the 10 games, these are the following results. 3,3,1,3,1,1,1,3,3,3. This would be equal to 6wins and 4losses. How would I put that in excel to show wins/losses?

  10. #10
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Using simple math, you can figure this out easily:
    Let's say number of wins is a, number of loses is b, then we have
    a + b = number of matches
    3a + b = total score

    Then a = (total score - no. matches) / 2
    and b = number of matches - a
    Assuming your total score is in Cell A2, and number of matches in Cell B2 (A1 and B1 are headers), then
    number of wins = ROUNDDOWN((A2-B2)/2,0)
    number of loses = B2 - C2

    In case this gives wrong results, say total match = 11 but number of matches = 6, the formula will give 2 as no. of win, and 4 as no. loses.
    Think of it, can you do a better job? 2 and 4 and 10 points is the closest possible, because with 6 matches there's no way you can achieve 11 points:
    1 win 5 loses, 3+5 = 8 points
    2 wins 4 loses, 6+4 = 10 points
    3 wins 3 loses, 9+3 = 12 points
    That's why I put a ROUNDDOWN there to avoid having 2.5 wins
    Last edited by Lemice; 04-24-2013 at 03:09 AM.
    (copy pasta from Ford)
    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

    Regards,
    Lem

  11. #11
    Registered User
    Join Date
    04-21-2013
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Thanks for all your guys' help. Really learned some new tricks to excel

  12. #12
    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
    52,938

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  13. #13
    Registered User
    Join Date
    04-21-2013
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Calculating Win/Loss, knowing total points, number of matches, and point values.

    Thanks FDibbins for pointing this out.

+ 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