+ Reply to Thread
Results 1 to 2 of 2

Counting distinct values in Excel

  1. #1
    Registered User
    Join Date
    07-25-2016
    Location
    New York, NY
    MS-Off Ver
    MS Office 2010
    Posts
    5

    Counting distinct values in Excel

    Hello, I've created a pivot table and the pivot table has a unique identifier for each person in my table. Some people have one row in the table, some people have 10 rows in the table. I want to see how many total people I have in my pivot table, not how many rows (again, some people have multiple rows). I think that I need to find the "distinct value" for some reason that is what I keep thinking, but I'm not sure if that is the correct option. And if it is the correct option, that I need to count the number of distinct rows, how do I do that? Thank you in advance for your help!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,900

    Re: Counting distinct values in Excel

    Ias this what you mean (assumes names are in A2 to A7)

    =SUMPRODUCT(1/COUNTIF(A2:A7,A2:A7))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. [SOLVED] How to count distinct values in Excel
    By Arpita_Excel in forum Excel General
    Replies: 7
    Last Post: 07-22-2015, 02:05 AM
  2. How to Count Distinct Values in Excel
    By kisanvikas2015 in forum Excel General
    Replies: 2
    Last Post: 05-19-2015, 10:12 AM
  3. Replies: 0
    Last Post: 04-27-2015, 03:32 PM
  4. [SOLVED] Counting distinct values with blank cells produces #DIV/0!
    By antexity in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2015, 09:00 AM
  5. [SOLVED] counting unique/distinct values (sample data attached)
    By justinhampton81 in forum Excel General
    Replies: 9
    Last Post: 08-06-2014, 12:41 AM
  6. Replies: 2
    Last Post: 10-05-2011, 12:30 PM
  7. Counting Distinct Values
    By giantwolf in forum Excel General
    Replies: 4
    Last Post: 12-29-2005, 11:03 AM

Tags for this Thread

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