+ Reply to Thread
Results 1 to 3 of 3

Count Distinct Values Per Attribute

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    2

    Count Distinct Values Per Attribute

    Hi,

    I'm trying to write a formula to count the number of unique product types per client (example attached). e.g. ABC Capital LLC has two distinct product types - A and B, whereas XYZ Capital has only one product type - A.

    Any help is greatly appreciated. I cannot use pivot tables to do this because I need to build on this formula to extract more metrics

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Count Distinct Values Per Attribute

    Hi scosner,
    Welcome to the Forum.

    Try this Array formula which requires confirmation with Ctrl+Shift+Enter instead of just Enter. (Hope you are familiar with Array Formulas)

    In C2
    Please Login or Register  to view this content.
    and then copy down.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    02-24-2014
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    2

    Red face Re: Count Distinct Values Per Attribute

    I am familiar with arrays and this works perfectly. Thank you so much

+ 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. Count Distinct Values
    By trevordsmith in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2014, 09:21 PM
  2. [SOLVED] Count Conditional Distinct Values
    By Gos-C in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2013, 05:41 AM
  3. [SOLVED] Count Distinct Values
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-20-2012, 07:39 AM
  4. [SOLVED] Count unique values by attribute
    By ppickell in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 05-27-2012, 09:12 AM
  5. Count Distinct Values?
    By bill_morgan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-26-2005, 10:06 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