+ Reply to Thread
Results 1 to 7 of 7

Counting individual names from a list

  1. #1
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    2019
    Posts
    198

    Counting individual names from a list

    Hi,

    Please refer to the sample spread sheet attached.
    I'm trying to count the number of people in a list, however duplicated names do not add to the total.

    Thanks, Paul
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-21-2015
    Location
    United States
    MS-Off Ver
    2016
    Posts
    62

    Re: Counting individual names from a list

    Hi there, you can use this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,599

    Re: Counting individual names from a list

    .
    Or if you prefer .. paste this Function into a Routine Module :

    Please Login or Register  to view this content.
    Then in a cell enter the formula: =CountUniqueValues(C5:C16)

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,599

    Re: Counting individual names from a list

    .
    This formula will also count the unique names:
    Please Login or Register  to view this content.
    Type the formula in, then press CTRL / SHIFT / ENTER

  5. #5
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    2019
    Posts
    198

    Re: Counting individual names from a list

    Quote Originally Posted by Skiptomylou View Post
    Hi there, you can use this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks for that. This seems the easiest, as I don't have Macros enabled in the original work book (for a reason).
    Only snag, if I include blank rows (to allow for extra names in the future), it comes up with an error. I don't really want to edit the formula every time someone is added.
    Any easy solution?

    Cheers, Paul

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,441

    Re: Counting individual names from a list

    Try:

    =SUMPRODUCT(1/COUNTIF(C5:C16,C5:C16&""))-(COUNTBLANK(C5:C16)>0)

  7. #7
    Registered User
    Join Date
    12-21-2015
    Location
    United States
    MS-Off Ver
    2016
    Posts
    62

    Re: Counting individual names from a list

    Beat me to it

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Counting list of names
    By sezza79 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2014, 09:13 AM
  2. Replies: 1
    Last Post: 05-05-2014, 09:30 AM
  3. Counting Names from a list
    By toleibovitz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-15-2014, 10:14 PM
  4. Macro or some way to have a list of names each hyperlink to individual folder
    By ckshann in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-24-2013, 01:08 AM
  5. [SOLVED] Individual worksheet generation from list of names and data
    By K.J.Dub in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2013, 03:36 PM
  6. Countif Counting Drop Down List Of Names
    By rocole924 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2008, 05:00 AM
  7. Counting how many different names in a long list
    By Quaisne in forum Excel General
    Replies: 7
    Last Post: 01-15-2006, 04:29 PM

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