How can you determine the longest run in the following sequence?
1
1
1
1
2
2
1
1
1
2
The answer from a general formula I am looking for here is 4 for "1's"and 2 for "2's".
Also, if you have a list (for example of claims) that go up in increments (after every x days for example), is there a way of determining when last it went up, eg:
1
1
1
1
2
2
3
3
3
3
The formula would for example determine that we went from 2 to 3 claims, 4 days ago. It would determine that we went from 1 to 2 claims, 6 days ago.
Thanks very much!
1
1
1
1
2
2
1
1
1
2
The answer from a general formula I am looking for here is 4 for "1's"and 2 for "2's".
Also, if you have a list (for example of claims) that go up in increments (after every x days for example), is there a way of determining when last it went up, eg:
1
1
1
1
2
2
3
3
3
3
The formula would for example determine that we went from 2 to 3 claims, 4 days ago. It would determine that we went from 1 to 2 claims, 6 days ago.
Thanks very much!