I have a sheet which keeps records of football results. I'd like to be able to keep a tally of longest losing streak and longest losing streak.
Column K has the results, either WON or LOST, so I tried to use the SCAN function along with MAX to get the desired result
Here is the formula
It returns #NAME? instead of the desired number
Any thoughts as to what I have done wrong here? I tried inputting it as a normal formula initially, then even tried it as an array formula, but still no result
cheers
Column K has the results, either WON or LOST, so I tried to use the SCAN function along with MAX to get the desired result
Here is the formula
Excel Formula:
=MAX(SCAN(0,K5:K100000,LAMBDA(a,v,IF(v="WON",a+1,0))))
It returns #NAME? instead of the desired number
Any thoughts as to what I have done wrong here? I tried inputting it as a normal formula initially, then even tried it as an array formula, but still no result
cheers