+ Reply to Thread
Results 1 to 7 of 7

Calculate win/loss streaks

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    England
    MS-Off Ver
    2007
    Posts
    10

    Calculate win/loss streaks

    Hi guys,
    I need to calculate the longest streak and average streak of an outcome from a set of football results.
    Can anyone help me work out the formula to measure the longest winning streak and average winning streak and losing streaks for “h”(home win)?
    I have uploaded a pic of what I mean...
    Thanks
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Calculate win/loss streaks

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-29-2018
    Location
    England
    MS-Off Ver
    2007
    Posts
    10

    Re: Calculate win/loss streaks

    Thank you for the forum advice. I have attatched a workbook which will show more clearly what i need.

  4. #4
    Registered User
    Join Date
    08-29-2018
    Location
    England
    MS-Off Ver
    2007
    Posts
    10

    Re: Calculate win/loss streaks

    A copy of the data results
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Calculate win/loss streaks

    your streak makes little sense in that part of it is based on the teams games being alphabetical on a given day, However
    F2 =IF(E2="H",IF(ISNUMBER(F1),F1+1,1),0)
    G2 =IF(F2=0,IF(ISNUMBER(G1),G1+1,1),0)

  6. #6
    Registered User
    Join Date
    08-29-2018
    Location
    England
    MS-Off Ver
    2007
    Posts
    10

    Re: Calculate win/loss streaks

    you managed to find a way, it works perfectly.
    Thank you

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,913

    Re: Calculate win/loss streaks

    Or
    f2=(e2="h")*sum(f1,1)
    g2=(e2<>"h")*sum(g1,1)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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. Help. Calculate win/loss streaks
    By ziggy1971 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2017, 01:37 AM
  2. Replies: 9
    Last Post: 11-26-2016, 11:14 AM
  3. Pulling hair out - Trying to calculate win streaks
    By insanechef in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2015, 11:43 PM
  4. [SOLVED] Running Win/Loss streaks, ignoring Ties
    By Vince_B in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2013, 05:12 PM
  5. 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
  6. [SOLVED] WIN/LOSS streaks
    By rumihasj in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-08-2013, 11:39 AM
  7. Replies: 0
    Last Post: 09-27-2011, 10:31 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