+ Reply to Thread
Results 1 to 5 of 5

names in a long list

  1. #1
    ferde
    Guest

    names in a long list

    a1:a200 are a list of names. I need to determine which name is appearing
    most often AND have the name populate B2 in the same worksheet. Would
    appreciate any help you can offer.

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

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

    confirmed with CTRL+SHIFT+ENTER

  3. #3
    Peo Sjoblom
    Guest

    Re: names in a long list

    =INDEX(A1:A20,MODE(MATCH(A1:A20,A1:A20,0)))

    or

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

    both entered with ctrl + shift & enter, the first one is shorter but returns
    error if there are blank cells within the range

    adapt to fit your range

    --

    Regards,

    Peo Sjoblom

    Northwest Excel Solutions

    www.nwexcelsolutions.com

    (remove ^^ from email address)

    Portland, Oregon




    "ferde" <[email protected]> wrote in message
    news:[email protected]...
    > a1:a200 are a list of names. I need to determine which name is
    > appearing
    > most often AND have the name populate B2 in the same worksheet. Would
    > appreciate any help you can offer.



  4. #4
    ferde
    Guest

    Re: names in a long list

    Thank you for your reply

    "daddylonglegs" wrote:

    >
    > Try this formula
    >
    > =INDEX(A1:A200,MATCH(MAX(COUNTIF(A1:A200,A1:A200)),COUNTIF(A1:A200,A1:A200),0))
    >
    > confirmed with CTRL+SHIFT+ENTER
    >
    >
    > --
    > daddylonglegs
    > ------------------------------------------------------------------------
    > daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
    > View this thread: http://www.excelforum.com/showthread...hreadid=521577
    >
    >


  5. #5
    ferde
    Guest

    Re: names in a long list

    Thank you ,,,it works great

    "Peo Sjoblom" wrote:

    > =INDEX(A1:A20,MODE(MATCH(A1:A20,A1:A20,0)))
    >
    > or
    >
    > =INDEX(A1:A20,MATCH(MAX(COUNTIF(A1:A20,A1:A20)),COUNTIF(A1:A20,A1:A20),0))
    >
    > both entered with ctrl + shift & enter, the first one is shorter but returns
    > error if there are blank cells within the range
    >
    > adapt to fit your range
    >
    > --
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > Northwest Excel Solutions
    >
    > www.nwexcelsolutions.com
    >
    > (remove ^^ from email address)
    >
    > Portland, Oregon
    >
    >
    >
    >
    > "ferde" <[email protected]> wrote in message
    > news:[email protected]...
    > > a1:a200 are a list of names. I need to determine which name is
    > > appearing
    > > most often AND have the name populate B2 in the same worksheet. Would
    > > appreciate any help you can offer.

    >
    >


+ 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