I have a series of numbers - See below.
I wish to count the 1's between the blanks.(Not the total 1's)
0
0
0
1
1
1
1
1
1
0
1
0
1
1
1
0
0
0
1
1
1
1
0
Etc.
The answers I want are
0
0
0
1 1
1 2
1 3
1 4
1 5
1 6*
0
1 1*
0
1 1
1 2
1 3*
0
0
0
1 1
1 2
1 3
1 4*
0
Etc
With the final result of 6, 1, 3, 4.
Looking forward to your help.
Cheers Sedge
Bookmarks