In the image B2 copied down is =IF(($A2="League")*($B2="H"),IF($C2="W",SUM(1,D1),0),N(D1))
It's counting consecutive winning home league games. The result is 12.
However if you put a formula at the bottom of Column D, =COUNTIF(D2:D34,E14), it would give you a result of 4. But of course you've only reached 12 once.
Is there another way of asking the question to get a result of 1, or if further down the column there was another run of 13, a result of 2?
I can't think of a way.
Any help appreciated.
It's counting consecutive winning home league games. The result is 12.
However if you put a formula at the bottom of Column D, =COUNTIF(D2:D34,E14), it would give you a result of 4. But of course you've only reached 12 once.
Is there another way of asking the question to get a result of 1, or if further down the column there was another run of 13, a result of 2?
I can't think of a way.
Any help appreciated.