+ Reply to Thread
Results 1 to 11 of 11

Return the most occurring name from a list

Hybrid View

  1. #1
    Registered User
    Join Date
    04-02-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    56

    Return the most occurring name from a list

    Which formula do i use to return a name to me, that is the most occurring from a list?

    i tried =mode(range) but i dont think it was the right one.
    Last edited by Nathaniel82; 07-17-2009 at 10:02 AM. Reason: Moderator made me.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    re: Return the most occurring name from a list

    deleted op hasn't changed title
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-02-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    56

    re: Return the most occurring name from a list

    I did change the title.

    Not sure what you want me to change the title to.

    will try a different forum.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    re: Return the most occurring name from a list

    you have now ,not when i posted tho' answer is
    =INDEX(A1:A100,MATCH(MAX(COUNTIF(A1:A100,A1:A100)),COUNTIF(A1:A100,A1:A100),0))
    array entered see my sig. for how to enter arrays
    will try a different forum
    bye bye

  5. #5
    Registered User
    Join Date
    04-02-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    56

    re: Return the most occurring name from a list

    doesn't work anyway. like i said, it's a name i want not a number

    thanks.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Return the most occurring name from a list

    Martin's formula works.. you need to confirm it with CTRL+SHIFT+ENTER... please try it before giving up.

    All we ask is that you read and follow the forum rules. This in return for free advice and help.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  7. #7
    Forum Contributor
    Join Date
    05-20-2008
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    176

    re: Return the most occurring name from a list

    Works fine for me, are you sure you have entered it as an array?

    Oops, someone said it before me, must type quicker. Lol
    Last edited by Andrew-Mark; 07-17-2009 at 10:43 AM. Reason: Too slow :(

  8. #8
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699

    re: Return the most occurring name from a list

    You could also use this formula

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

    confirmed with CTRL+SHIFT+ENTER

    like MODE it returns N/A if there are no repeated values in the range

  9. #9
    Registered User
    Join Date
    03-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Return the most occurring name from a list

    Okay guys. This formula worked but how do i edit it so that it gives me the 2nd, 3rd, etc...most repeated names? So that i can create a top 5?
    Thanks in advance guys.

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Return the most occurring name from a list

    You need to start your own thread.

    See forum rule #2:

    http://www.excelforum.com/forum-rule...rum-rules.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  11. #11
    Registered User
    Join Date
    04-02-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    56

    re: Return the most occurring name from a list

    ha ha ha, sorry for my petulence. it's working now.

    thanks to all who helped and all who told me off.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1