This formula returns #NA if the filtered list only contains one row:
=INDEX(B2:B10,MODE(IF(SUBTOTAL(3,OFFSET(B2:B10,ROW(B2:B10)-ROW(B2),0,1))>0,MATCH(B2:B10,B2:B10,0))))
(Sourced from: Find most frequently occurring text string in a VISIBLE or filtered)
Can anyone help with a formula that returns the most frequent value regardless of how many rows are visible after filtering?
Thanks!
=INDEX(B2:B10,MODE(IF(SUBTOTAL(3,OFFSET(B2:B10,ROW(B2:B10)-ROW(B2),0,1))>0,MATCH(B2:B10,B2:B10,0))))
(Sourced from: Find most frequently occurring text string in a VISIBLE or filtered)
Can anyone help with a formula that returns the most frequent value regardless of how many rows are visible after filtering?
Thanks!