Hi guys,
In my excel, i tabulated the results of a soccer team, and its Win-Lose-Draw result can be seen in Column H.
The current results are WWDLL.
In Cell K2 and L2, i am trying to calculate the latest W/L streak that the team is experiencing.
The array formula i used, which i found by googling is:
For win streak
=MAX(0,MAX((H2:H40="W")*ROW(H2:H40))-MAX((H2:H40="L")*ROW(H2:H40)))
This gave a result of 0, which is correct since last game result is a "L"
For lose streak
=MAX(0,MAX((H2:H40="L")*ROW(H2:H40))-MAX((H2:H40="W")*ROW(H2:H40)))
This gave a result of 3, which is WRONG, as i have only 2 L
Is there anyway to calculate W or L, while treating D as "invisible"?
The formula i am looking for is to ignore D. This means if there is a result of WLDLL, the Lose streak should show 3.
Thanks in advance, i tried googling and looking through the forum, there are some similar posts regarding streaks, but they are all different from this case.
Appreciate your help.
Bookmarks