mcgurrgurr
New Member
- Joined
- Aug 22, 2011
- Messages
- 8
Hi there,
I am trying to write a formula that will give me the count of the longest streak of numbers in a column. The column has 36 values that are 1's or 0's. I would like the formula to find and output the series that has the longest streak of one's, but that resets if it encounters a 0.
For Example:
1
1
0
1
1
1
0
0
1
0
In this list the output would be 3.
If anyone can help that would be great!
Thanks!
I am trying to write a formula that will give me the count of the longest streak of numbers in a column. The column has 36 values that are 1's or 0's. I would like the formula to find and output the series that has the longest streak of one's, but that resets if it encounters a 0.
For Example:
1
1
0
1
1
1
0
0
1
0
In this list the output would be 3.
If anyone can help that would be great!
Thanks!