I have a column of numeric data and need to determine the most common three digits that appear in positions 3-5 in any order. For example:
99123456
98321889
99456777
98231666
99221457
98997000
Most common would be 2 1 3
Struggling with count (if and sum(if(mid


My proposal of formula is for newer versions of Excel (2021 or 365):
Here
datarepresents the range of data,{3,4,5}- positions of digits taken into account,{1;2;3}- list of ranks.For a given numbers the most frequent digits are
2,1, and3.If the digits occur as often, the smaller digits will be displayed first.