+ Reply to Thread
Results 1 to 6 of 6

Formula to count consecutive wins/draws or max no loss streak

  1. #1
    Registered User
    Join Date
    06-24-2019
    Location
    Sunderland, England
    MS-Off Ver
    Ms Office 365
    Posts
    3

    Formula to count consecutive wins/draws or max no loss streak

    Hi

    I have been trying to find a formula that would count consecutive (max) no loss streak but I am struggling. I have tried a few formula's from here but cant seem to get them to work based on how my data is laid out. I have attached a sample workbook that represents my data and how it is laid out, I have also included a table where I have manually counted them and I would like to find a formula that would count them automatically if possible.

    Any help would be appreciated.

    Regards

    Ian
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Formula to count consecutive wins/draws or max no loss streak

    This might get you started.

    Please Login or Register  to view this content.
    Open the VBA editor by hitting Alt F11.
    Insert a new module with Insert - Module
    Paste in the above function
    Go back to the sheet by hitting Alt F11.

    In a 2nd sheet D2, enter =LongestNoLossStreak(A2,"PL")

    Remember to save the workbook as a macro enabled workbook .xlsm
    Martin

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula to count consecutive wins/draws or max no loss streak

    Please try at B2

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Press Ctrl+Shift+Enter and copy till C11
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-24-2019
    Location
    Sunderland, England
    MS-Off Ver
    Ms Office 365
    Posts
    3

    Re: Formula to count consecutive wins/draws or max no loss streak

    Hi Bo_Ry

    Thanks for the formula, works great.

    Would it be easy to add to the formula for teams that exist/have data from more than 1 division?

    Regards

    Ian

  5. #5
    Registered User
    Join Date
    06-24-2019
    Location
    Sunderland, England
    MS-Off Ver
    Ms Office 365
    Posts
    3

    Re: Formula to count consecutive wins/draws or max no loss streak

    Quote Originally Posted by Bo_Ry View Post
    Please try at B2

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Press Ctrl+Shift+Enter and copy till C11
    Hi Bo_Ry

    Thanks for the formula, works great.

    Would it be easy to add to the formula for teams that exist/have data from more than 1 division?

    Regards

    Ian

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula to count consecutive wins/draws or max no loss streak

    Yes, but I need to see the data.

+ 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. [SOLVED] Calculating Max Consecutive Wins
    By ChaosTrader63 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-29-2020, 12:40 PM
  2. Replies: 2
    Last Post: 05-25-2019, 12:03 PM
  3. Replies: 5
    Last Post: 09-11-2018, 10:29 AM
  4. Forecasting Wins, Draws, Loss
    By fab4x in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2016, 02:54 PM
  5. [SOLVED] hw to count Home Wins, Away Wnis or Die in football
    By aaaaa34 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 11-24-2014, 12:17 PM
  6. Consecutive Wins vs team
    By hockeyguy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-08-2014, 11:19 AM
  7. Excel 2007 : Count Consequtive Wins/Losses
    By jld5571 in forum Excel General
    Replies: 6
    Last Post: 11-15-2011, 09:40 PM

Tags for this Thread

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