In pgc's sample, cells B2:E2 is a block of 4 1's. What he trying to determine is ..Sorry, i'm not following your question
Is this what you mean?
=SUM(IF(FREQUENCY(IF(A2:AB2=1,COLUMN(A2:AB2)),IF(A2:AB2<>1,COLUMN(A2:AB2)))=3,1))
...confirmed with CONTROL+SHIFT+ENTER. Note, however, if you'd like to count the number of times 3 or more consecutive 1's occur, replace...
=3
with
>=3
In pgc's sample, cells B2:E2 is a block of 4 1's. What he trying to determine is ..
Does this count as one block (B2:E2) or does it count as two blocks (B2:D2 being one block of 3 and cells C2:E2 being a second block of 3 cells)?
I just somehow need to merge the two together
I'm not quite there yet.
Thanks for the formula Domenic