问题
I am using =MODE(B1:F85) to get the MODE, how do I get which is the second most frequent value after 10? Thanks
回答1:
This should return the second most frequent value:
=ArrayFormula(MODE(IF((B1:F85=MODE(B1:F85)),"",B1:F85)))
As an aside, I think the fact you need to use "" in the second argument, rather than omitting the argument altogether, is (in my opinion) a low-grade bug, which I will report. Nevertheless, the above formula should still work even if the behaviour was changed accordingly.
来源:https://stackoverflow.com/questions/26326857/how-do-i-find-the-second-most-frequent-value-in-google-sheet