+ Reply to Thread
Results 1 to 12 of 12

Calculating win streak and maximum win streaks

  1. #1
    Registered User
    Join Date
    10-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Calculating win streak and maximum win streaks

    Hello,

    So i'm building a spreadsheet to help track my team's darts ladder and I ran into a small problem.

    I'm recording the matches in a simple table and using that table to generate a host of others. The way I've built it depends upon the matches being laid out as they are inthe attached sheet.

    However, I am struggling to write a formula to calculate:

    1. the current win streak of each player - the number of wins in a row they currently have.

    2. the longest win streak the player has ever achieved - teh highest number of wins in a row they have ever had.

    Its totally beyond me! I've attached a sheet which shows the basic layout i'm after and wonder if anyone can do something suitably genius-like to it?

    Many thanks for your time in reading this and many more if you have a solution!

    Thanks,

    Andrew.Win Streaks.xlsxWin Streaks.xlsx

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,734

    Re: Calculating win streak and maximum win streaks

    =COUNTIF(C:C,$I11)
    for win

    =COUNTIF(D:D,$I11)
    for loss

    I'm not sure of the other two yet
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

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

    Re: Calculating win streak and maximum win streaks

    Here, try this:
    Attached Files Attached Files
    Last edited by zbor; 02-13-2016 at 04:12 PM.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculating win streak and maximum win streaks

    A similar question was asked earlier today.

    See if this helps...

    https://www.excelforum.com/showthread.php?t=1126785
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    10-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Calculating win streak and maximum win streaks

    Wow! That looks incredible. Its so good, I can't back-engineer it! In the real thing I'm returning the win streak into a table in a different sheet from the match results. I'm trying to insert the name of the sheet ( 'newsheet'! ) in front of your $c$6:$c$1000 references, but its just not working. I'm really sorry to bother you again, is there any chance you could give me some pointers?

    Thank so much,

    Andrew.

  6. #6
    Registered User
    Join Date
    10-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Calculating win streak and maximum win streaks

    Thanks for the reply, Tony valko. I had checked it out but the peculiar lay out of my results made it difficult for me to see how i could use the same method. Probably me being a dummy : )

    A.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculating win streak and maximum win streaks

    Did you look at zbor's sample file? Does that do what you want?

  8. #8
    Registered User
    Join Date
    10-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Calculating win streak and maximum win streaks

    Yes, exactly what i want, i just cant get it to work if the source data and output table are in different sheets.

    A.

  9. #9
    Registered User
    Join Date
    10-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Calculating win streak and maximum win streaks

    I've re-uploaded a new sheet to reflect what i'm trying to do. as you'll see, in this one I've separated the summary table onto a different sheet from the raw data. I thought i'd be able to do this easliy by adding 'Results'! in front of each of the references to $C$6 or $c$6:$c$1000 in xbor's solution, but no deal!

    Anyone show me how i'm being stupid? Part of the problem is that normally i can work out how a formula actually works, but this one is beyond my (limited!) ability.

    Any help very gratefully received!

    A.

    Win Streaks update.xlsx

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

    Re: Calculating win streak and maximum win streaks

    If you left formulae in the table I could tell you what was wrong.
    But now here is only solution.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Calculating win streak and maximum win streaks

    You've been more than generous enough with your time anyway....sincere thanks. The problem I think is that I was typing in 'Results'! insetad of just Results! in front of the column reference.

    You, sir, are a gentleman. Thanks again.

    Andrew.

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

    Re: Calculating win streak and maximum win streaks

    I don't write that manually. When need to get range from other sheet just click sheet and select range.
    Try just typing = then select sheet, then select range and hit enter.

+ 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. Exclude zero when counting streaks (win/loss) and current streaks
    By poko10 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-11-2013, 06:06 AM
  2. Calculating Streaks with more than 2 variables
    By poko10 in forum Excel General
    Replies: 2
    Last Post: 12-05-2011, 08:51 AM
  3. Replies: 0
    Last Post: 09-27-2011, 10:31 AM
  4. Replies: 4
    Last Post: 08-21-2010, 09:09 PM
  5. Need help calculating the longest streak in a date series
    By SeanMulholland in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2010, 07:13 PM
  6. Calculating Longest winning and losing streak.
    By Lewis Koh in forum Excel General
    Replies: 2
    Last Post: 07-27-2009, 08:43 AM
  7. Require help calculating longest winning streak
    By kamran in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2006, 09:39 PM

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