Finding the mode of text

R

RoterRuter

I have a worksheet with several columns that are data validated text. I want
to find out which of the entries is used the most and have that entered into
the last cell of the column. With numbers, I just used the mode function.
Can I do find the mode of text? Thanks
 
R

RagDyer

If there's a possibility that you might have blank cells in your range, try
this *array* formula:

=INDEX(A1:A100,MATCH(MAX(COUNTIF(A1:A100,A1:A100)),COUNTIF(A1:A100,A1:A100),
0))

Array formulas are entered using CSE, <Ctrl> <Shift> <Enter>, instead of the
regular <Enter>, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



I have a worksheet with several columns that are data validated text. I
want
to find out which of the entries is used the most and have that entered into
the last cell of the column. With numbers, I just used the mode function.
Can I do find the mode of text? Thanks
 
Top