Example: Count the max consecutive number of "S" entries in the following data which is stored in column A:
F
F
S
F
F
S
S
S
F
S
F
S
S
S
S
F
I tried using the following function, but it returns a 3 for the example data and I am expecting a 4..
=MAX(FREQUENCY(IF(A1:A100="S",ROW(1:100)),IF(A1:A100<>"S",ROW(1:100))))
Can someone help show how to ignore the blank cells??
Thank you,
Todd.
F
F
S
F
F
S
S
S
F
S
F
S
S
S
S
F
I tried using the following function, but it returns a 3 for the example data and I am expecting a 4..
=MAX(FREQUENCY(IF(A1:A100="S",ROW(1:100)),IF(A1:A100<>"S",ROW(1:100))))
Can someone help show how to ignore the blank cells??
Thank you,
Todd.