+ Reply to Thread
Results 1 to 5 of 5

Most recent consecutive streak not including "p"

  1. #1
    Registered User
    Join Date
    01-10-2013
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    7

    Most recent consecutive streak not including "p"

    Hello. I have been helped before here and hoping someone can rescue me again...

    I'm looking for the formula which will count the current (most recent) streak of wins ("w") and losses ("l") while not allowing pushes ("p" - as in a draw) to break up the streak. In other words I would like for "p" (push) to be ignored. The result does not have to distinguish whether it is a win or loss. All I care about is the number of the current streak (regardless of whether it is a win or loss). Here are some examples...


    W L W W L P L L W P W The result I am looking for is 2 (since the current streak is 2 wins while ignoring pushes)

    L P L L W W L L P L L The result I am looking for here is 4

    W L W L L W W W W L L The result is 2

    W L W P L L P L P W W L P The result is 1 (since last consecutive streak of non push is a loss)


    Appreciate any suggestions.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Most recent consecutive streak not including "p"

    See if the attached helps..

    See column N
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    01-10-2013
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Most recent consecutive streak not including "p"

    Thank you for the reply. It works, the only problem is that I will be adding results to the end of each row and I see that CONCATENATE has to list each cell in the formula. Is there any way to place the formula as a range that may continue to increase?

    Thanks again.

  4. #4
    Registered User
    Join Date
    01-10-2013
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Most recent consecutive streak not including "p"

    Anyone have an answer or fix for this?

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Most recent consecutive streak not including "p"

    hi there. try this array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    you have to paste the formula inside the formula bar & press CTRL + SHIFT + ENTER. When done correctly, you should see curly brackets surrounding it. if you have more columns, change all the "M". ideally, use a standard formula with the most column & it'll work for all your data.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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