Hi,
I have a range of cells containing a string of numbers separated by ';' e.g.
COLUMN A COLUMN B
IDENTIFIER_01 1122;1942;2011;1869;2642;2729;2731;2655;2678;2341;2347;2354;2332;2506;1809
IDENTIFIER_02 1122;1942;2011;1869;2642;2729;2731;2655;2678;2207;2209;2217;2220;1880;2506;1809
IDENTIFIER_03 1122;1942;2011;1869;2642;2729;2731;2732;2648;2255;2207;2217;2220;2387;1880;2506;1809
IDENTIFIER_04 1122;1942;2011;1869;2642;2729;2731;2732;2678;2207;2209;2217;2220;1880;2506;1809
IDENTIFIER_05 1122;1942;1971;2011;1869;2642;2729;2731;2648;2678;2342;2354;2355;2207;2209;2217;2220;2398;1880;2506;1809
IDENTIFIER_06 1122;1942;2011;2169;1869;2642;2729;2731;2732;2678;2341;2343;2347;2354;2207;2209;2217;2220;1880;2506;1809
IDENTIFIER_07 1122;1942;2095;1869;2573;2587;2648;2655;2673;2207;2209;2220;1880;1809
IDENTIFIER_08 1122;1942;2095;1870;2642;2648;2673;2678;2341;1880;2506;1809
I am looking to find the top 5 most common/repeated numbers within this range. I have found a formula to work out the largest number within the range:
=MAX(IFERROR(0+TRIM(MID(SUBSTITUTE(";"&B3,";",REPT(" ",LEN(B3))),(ROW(A$1:A$200)*LEN(B3))-1,LEN(B3))),0)) (REF http://www.excelforum.com/excel-gene...e-numbers.html)
but I haven't yet found a solution to modify it to work with e.g. the mode function.
I know I could separate all the numbers out using 'text to columns' but I will need to work this out regularly on large quantities of data so I am looking for nice tidy solution :-)
Any ideas would be really appreciated!
Thanks
Bookmarks