+ Reply to Thread
Results 1 to 6 of 6

Counting distinct values across columns

  1. #1
    Registered User
    Join Date
    11-21-2017
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    21

    Counting distinct values across columns

    I am trying to do some pivot table analysis from output generated from a CRM system that relates to a few hundred client events hosted by a company.

    For some reason, the system will generate a replicated row of data attributed to each employee that attended the events (e.g. if 20 clients participated and 5 employees were present, there are 100 rows). I am trying to summarize the number of distinct customers that attended events - how can I achieve this?

    Doing a distinct count on the event name just results in the number of events. How can I count unique client-event occurences?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Counting distinct values across columns

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  3. #3
    Registered User
    Join Date
    11-21-2017
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    21

    Re: Counting distinct values across columns

    Quote Originally Posted by Pepe Le Mokko View Post
    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you
    Thanks, but I'm afraid this is a work-related issue and it isn't possible/allowed to circulate company data.

  4. #4
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,800

    Re: Counting distinct values across columns

    2 Ways to Calculate Distinct Count with Pivot Tables

    https://www.youtube.com/watch?v=NV3w...xcelCampus-Jon

  5. #5
    Registered User
    Join Date
    11-21-2017
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    21

    Re: Counting distinct values across columns

    Thanks... I watched the video, but it doesn't seem to apply to this situation. I guess what I'm trying to count are distinct permutations of values within "client" and "event name" columns.

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,800

    Re: Counting distinct values across columns

    Without files it is not possible to answer.

+ 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 distinct values within different sub-ranges
    By LeeroyReidy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-06-2020, 12:04 PM
  2. [SOLVED] Counting distinct values in relation to text values in a separate coulumn
    By Streatty in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2019, 11:04 AM
  3. [SOLVED] Counting distinct occurrences between two columns based on date
    By SHUTTEHFACE in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 08-18-2018, 09:45 AM
  4. Counting distinct values in Excel
    By ca16 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-26-2016, 12:42 PM
  5. [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
  6. Counting Rows based on 2 Columns (Distinct)
    By spricks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2007, 06:41 AM
  7. Counting Distinct Values
    By giantwolf in forum Excel General
    Replies: 4
    Last Post: 12-29-2005, 11:03 AM

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