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.
Bookmarks