Hi,
I’m trying to get like max frequency contiguous data – or to put it more simply
1
0
1
1
0
1
1
1
1
1
0
Longest streak of 1s = 5
Sounds easy right? In excel I can do it - looks like this for longest streak of a column (column F) where the number is less than 900
=MAX(FREQUENCY(IF(F2:F1048576>900,ROW(F2:F1048576)),IF(F2:F1048576<=900,ROW(F2:F1048576))))
Would appreciate any help,
Thanks
I’m trying to get like max frequency contiguous data – or to put it more simply
1
0
1
1
0
1
1
1
1
1
0
Longest streak of 1s = 5
Sounds easy right? In excel I can do it - looks like this for longest streak of a column (column F) where the number is less than 900
=MAX(FREQUENCY(IF(F2:F1048576>900,ROW(F2:F1048576)),IF(F2:F1048576<=900,ROW(F2:F1048576))))
Would appreciate any help,
Thanks