+ Reply to Thread
Results 1 to 5 of 5

Most occuring name in a list?

  1. #1
    Registered User
    Join Date
    05-25-2008
    Posts
    3

    Most occuring name in a list?

    Hi all,

    kinda new to the Excel thing and I'm trying to find a formaula to get the most frequently occuring name in a list that I have.

    eg:
    Jamie
    Sam
    Steve
    David
    Sean M
    Dean
    Jason
    Jamie

    Jamie occurs twice in the list, so what do I use to get that result?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You could try this formula

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

    confirmed with CTRL+SHIFT+ENTER

    where your names are in A1:A8

    Note: if no name occurs more than once you get #N/A. If 2 or more names tie for the most occurences then you get the first to appear in the list.....

  3. #3
    Registered User
    Join Date
    05-25-2008
    Posts
    3
    thanks for that.

    still not too sure how it all works.....like I said I'm a bit of a newbie with excel.

    I've changed the formula to match the columns and rows on my page but I'm missing something, any advice?

    =INDEX(I31:I55,MODE(IF(I31:I55<>"",MATCH(I31:I55,I31:I55,0))))

    what is supposed to go where?

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Your formula look OK but it's an "array formula" which needs to be confirmed with CTRL+SHIFT+ENTER.

    To do that, select cell with formula, press F2 key then hold down CTRL and SHIFT keys and press ENTER. Curly braces like { and } appear around the formula in the formula bar and formula should give the correct result.

    Note: If you edit the formula then CTRL+SHIFT+ENTER has to be used again.....

  5. #5
    Registered User
    Join Date
    05-25-2008
    Posts
    3

    Smile

    thank so so much, it worked a treat!

+ 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