ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   most common data (https://www.excelbanter.com/excel-discussion-misc-queries/256484-most-common-data.html)

The Rook[_2_]

most common data
 
I have column A consists of employees names obviously in text format.

Is it possible to say have cell B1 populated with the name that aears the
most?

Mike H

most common data
 
Hi,

Try this ARRAY formula. See below on how to enter it and adjust the range to
suit.

=INDEX(A1:A20,MATCH(MAX(COUNTIF(A1:A20,A1:A20)),CO UNTIF(A1:A20,A1:A20),0))

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"The Rook" wrote:

I have column A consists of employees names obviously in text format.

Is it possible to say have cell B1 populated with the name that aears the
most?


מיכאל (מיקי) אבידן

most common data
 
1) Name the range of names as: LIST
2) Use this formula to return the most appeared name:
=INDEX(LIST,MODE(MATCH(LIST,LIST,)))
Micky


"The Rook" wrote:

I have column A consists of employees names obviously in text format.

Is it possible to say have cell B1 populated with the name that aears the
most?


Jacob Skaria

most common data
 
Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

=INDEX(A1:A1000,MODE(IF(A1:A1000<"",MATCH(A1:A100 0,A1:A1000,0))))

--
Jacob


"The Rook" wrote:

I have column A consists of employees names obviously in text format.

Is it possible to say have cell B1 populated with the name that aears the
most?



All times are GMT +1. The time now is 09:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com