I have a column with 12682 rows, with values between 1 and 31.
I want to know how many times each number shows up consecutively.
Here is the first 18 cells in the column:
<tbody>
</tbody>
So for this I want to know that
there are
3 consecutive 1's
2 consecutive 6's
2 consecutive 7's
2 consecutive 9's
2 consecutive 14's
2 consecutive 17's
2 consecutive 13's
and if there was another 6 at the top it would report
4 rows of consecutive 6's. Since there would be two groups of 2 consecutive rows of 6's
I want to know how many times each number shows up consecutively.
Here is the first 18 cells in the column:
6 |
12 |
14 |
14 |
17 |
17 |
13 |
13 |
16 |
9 |
7 |
7 |
5 |
6 |
6 |
1 |
1 |
1 |
<tbody>
</tbody>
So for this I want to know that
there are
3 consecutive 1's
2 consecutive 6's
2 consecutive 7's
2 consecutive 9's
2 consecutive 14's
2 consecutive 17's
2 consecutive 13's
and if there was another 6 at the top it would report
4 rows of consecutive 6's. Since there would be two groups of 2 consecutive rows of 6's