Forum Discussion
Steve Mortimer
Feb 01, 2018Copper Contributor
Finding the most occurring text in a column
I have a column that contains two text codes (ie, ab & cd). I want find which code occurs the most in the column and return that code to a cell:
ab
ab
cd
cd
ab
ab
ab
Would a...
Detlef_Lewin
Feb 01, 2018Silver Contributor
Steve,
try this:
{=TEXTJOIN("/",TRUE,INDEX(A:A,N(IF(1,MODE.MULT(IF(A1:A99<>"",MATCH(A1:A99,A1:A99,0)))))))}
Cudos to neopa and XOR LX.
- Steve MortimerFeb 01, 2018Copper Contributor
many thanks
- Willy LauFeb 01, 2018Iron ContributorThanks so much.