+ Reply to Thread
Results 1 to 2 of 2

Count unique values within certain groups

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    houston
    MS-Off Ver
    Excel 2007
    Posts
    4

    Count unique values within certain groups

    Good morning!

    I'm looking for a way to count the number of times a certain number appears in a column, but within a certain group. An example is below:

    I have three unique identifiers in Column A. In Column B are the unique values I want to count. So, I'd want to see that ID 10 has one value for 6, one value for 7, and one value for 8. ID 12 has three values for 8, and ID 13 has two values for 8.

    ID Tag
    10 6
    10 7
    10 8
    12 8
    12 8
    12 8
    12 8
    13 8
    13 8

    I was able to use a countIF statement, but that only worked if I only selected a single ID value. I'd really prefer to do the whole column of IDs in one go.

    Any and all suggestions are MUCH appreciated! Thanks in advance!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Count unique values within certain groups

    Use COUNTIFS instead of COUNTIF

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

+ 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] Unique Total Value Count per Unique Lookup Values
    By KnightVision in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2014, 05:03 AM
  2. Finding unique groups of values in columns
    By colmoshea in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-17-2013, 10:44 AM
  3. Need forumla to sum number of unique values in groups of different sizes
    By ea2146 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-30-2013, 02:33 PM
  4. [SOLVED] How To Count Unique Values in COL A Subject for each unique value in COL B ??
    By amirtehrani in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-06-2012, 03:00 AM
  5. Replies: 17
    Last Post: 08-24-2009, 08:58 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