I have some data spread over one column and 120 rows there is a repetition of the value 1 and 0 corresponding to certain operation mode
so it looks as per the image attached
My question is how to identify how many occurrences of the set 0 group in that column. The occurrence should be only if that group is preceded by 1.
How many occurrences of the set 1 group in that column if that is only followed by 0. And the counting of zeros shall be 1 for each set of group when it satisfied the condition in the associated column value. i.e. equal to or greater than a certain value in Column C. And the counting of ones groups shall be 1 for each set of group
I have added the full column image to see the whole picture, and now what I need is to adjust the equation, so that it will result in counting the groups of zeros, not the zeros it selves as that above equation resulted in; the equation result should be 4
One last question is that how to count how many cells in the zero set group, or the one set group, for each group; and how to count the last group of zeros as it is longer than the other groups?