+ Reply to Thread
Results 1 to 4 of 4

WIN/LOSS streaks

  1. #1
    Registered User
    Join Date
    07-08-2013
    Location
    arnhem
    MS-Off Ver
    Excel 2010
    Posts
    6

    WIN/LOSS streaks

    I would like to find out win and loss streaks in a column.
    for example:

    A B C D
    -13 -13 -25 51
    -5 -10 -8 23
    35 -10 -17 -8
    50 -5 -25 -20
    -7 -2 +15 -6

    desired result:

    Win-streak
    A B C D
    2 0 1 2
    Lose streak
    A B C D
    2 5 4 3

    How can I get these results?

    Thanks in advance
    Last edited by rumihasj; 07-26-2013 at 08:08 AM.

  2. #2
    Registered User
    Join Date
    07-08-2013
    Location
    arnhem
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: WIN/LOSS streaks

    also, sometimes a player doesn't participate in a game, but his/her win/lose-streak shouldn't be interrupted.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: WIN/LOSS streaks

    Hi,

    Assuming your data given above is in cells A1:D5, enter these array formulae (confirm with CTRL+SHIFT+ENTER, not just ENTER):

    In cell A6 and copy across to the right for Win Streak:

    =MAX(FREQUENCY(IF(A$1:A$5>0,ROW(A$1:A$5)),IF(A$1:A$5<0,ROW(A$1:A$5))))

    In cell A7 and copy across to the right for Lose Streak:

    =MAX(FREQUENCY(IF(A$1:A$5<0,ROW(A$1:A$5)),IF(A$1:A$5>0,ROW(A$1:A$5))))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    07-08-2013
    Location
    arnhem
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: WIN/LOSS streaks

    thx m8 works

+ 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