crobbins05
New Member
- Joined
- Apr 21, 2011
- Messages
- 7
I need a formula that will track a current w/l streak. The current formula I am using is:
=LOOKUP(1E+100,FREQUENCY(IF(L4:L7=LOOKUP("zzz",L4:L7),ROW(L4:L7)),IF(L4:L7<>LOOKUP("zzz",L4:L7),ROW(L4:L7))))&"
"&LOOKUP("zzz",L4:L7)
This formula will return w,w,w,l,l,w,w as 2W. The problem I have is that if there is a blank cell in the range it interrupts the streak.
For example w,w,w,l,l, ,l will return 1L instead of 3L.
Also w,w,w,l,l, , will return 0L. Can anyone help?
=LOOKUP(1E+100,FREQUENCY(IF(L4:L7=LOOKUP("zzz",L4:L7),ROW(L4:L7)),IF(L4:L7<>LOOKUP("zzz",L4:L7),ROW(L4:L7))))&"
"&LOOKUP("zzz",L4:L7)
This formula will return w,w,w,l,l,w,w as 2W. The problem I have is that if there is a blank cell in the range it interrupts the streak.
For example w,w,w,l,l, ,l will return 1L instead of 3L.
Also w,w,w,l,l, , will return 0L. Can anyone help?