Hi,
In my code i need to count the mose frequent names in a list. If i set the range as 'rng' for teh column how do i use this in the formule?
This is what i have as an using FormulaArray:-
<TABLE style="WIDTH: 181pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=241 border=0 x:str><COLGROUP><COL style="WIDTH: 181pt; mso-width-source: userset; mso-width-alt: 8813" width=241><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; WIDTH: 181pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=241 height=17 x:str="'=INDEX(Stats!H1:H847,MATCH(MAX(COUNTIF(Stats!H2:H618,Stats!H2:H618)),COUNTIF(Stats!H2:H618,Stats!H2:H618),0))">
What i would like is:-
</TD></TR></TBODY></TABLE>
In my code i need to count the mose frequent names in a list. If i set the range as 'rng' for teh column how do i use this in the formule?
This is what i have as an using FormulaArray:-
<TABLE style="WIDTH: 181pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=241 border=0 x:str><COLGROUP><COL style="WIDTH: 181pt; mso-width-source: userset; mso-width-alt: 8813" width=241><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; WIDTH: 181pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=241 height=17 x:str="'=INDEX(Stats!H1:H847,MATCH(MAX(COUNTIF(Stats!H2:H618,Stats!H2:H618)),COUNTIF(Stats!H2:H618,Stats!H2:H618),0))">
Code:
=INDEX(Stats!H1:H847,MATCH(MAX(COUNTIF(Stats!H2:H618,Stats!H2:H618)),COUNTIF(Stats!H2:H618,Stats!H2:H618),0))
What i would like is:-
Code:
=index(rng,match(max(countif(rng,rng)),countif(rng,rng),0))
</TD></TR></TBODY></TABLE>