ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   From a list select the name with the most occurences (https://www.excelbanter.com/excel-worksheet-functions/235628-re-list-select-name-most-occurences.html)

akoobra

From a list select the name with the most occurences
 
Thank you

Shane Devenshire[_2_]

From a list select the name with the most occurences
 
Hi,

If this is a question, try the following array formula

=INDEX(A1:A9,MATCH(MAX(COUNTIF(A1:A9,A1:A9)),COUNT IF(A1:A9,A1:A9),0))

Array - to enter the formula press Shift+Ctrl+Enter

Since the same range is used 5 times if you us are range name of N for that
range the formula simplifies to

=INDEX(N,MATCH(MAX(COUNTIF(N,N)),COUNTIF(N,N),0))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"akoobra" wrote:

Thank you



All times are GMT +1. The time now is 08:35 PM.

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