+ Reply to Thread
Results 1 to 9 of 9

Count unique values with multiple criteria

  1. #1
    Registered User
    Join Date
    02-26-2017
    Location
    DUBAI
    MS-Off Ver
    2016
    Posts
    13

    Count unique values with multiple criteria

    HELLO,

    I require a formula that will give count of unique values with multiple Criteria,

    File attached.

    Sheet 1:
    - Column A = Membership Numbers
    - Column B = Age

    Sheet = 'Age Band'

    formula that returns Count of Unique 'Membership Numbers' as per the age band set in Sheet 'Age Band'.


    Thanks
    Last edited by jake1912; 02-27-2017 at 01:06 AM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Count unique values with multiple criteria

    The quickest method might be to use a pivot table with a helper column...

    I used the group method...
    HTH
    Regards, Jeff

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,287

    Re: Count unique values with multiple criteria

    I propose the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,287

    Re: Count unique values with multiple criteria

    Excuse me.
    An error has occurred.
    I imagine a different formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-26-2017
    Location
    DUBAI
    MS-Off Ver
    2016
    Posts
    13

    Re: Count unique values with multiple criteria

    Thanks 'Czelaw' - resultant value incorrect

    0 - 9 YEARS ---- should be - 27
    10 - 19 YEARS ---- should be 11
    .
    .

  6. #6
    Registered User
    Join Date
    02-26-2017
    Location
    DUBAI
    MS-Off Ver
    2016
    Posts
    13

    Re: Count unique values with multiple criteria

    Quote Originally Posted by jeffreybrown View Post
    The quickest method might be to use a pivot table with a helper column...

    I used the group method...
    Hi Jeff, Pivot Table will not work as there are other columns in the actual table that pull values from other sheets.

  7. #7
    Registered User
    Join Date
    02-26-2017
    Location
    DUBAI
    MS-Off Ver
    2016
    Posts
    13

    Re: Count unique values with multiple criteria

    Quote Originally Posted by Czeslaw View Post
    Excuse me.
    An error has occurred.
    I imagine a different formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks 'Czelaw' - resultant value incorrect

    0 - 9 YEARS ---- should be - 27
    10 - 19 YEARS ---- should be 11
    .
    .

  8. #8
    Registered User
    Join Date
    02-26-2017
    Location
    DUBAI
    MS-Off Ver
    2016
    Posts
    13

    Re: Count unique values with multiple criteria

    thanks Czeslaw - Sumproduct formula works...

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,911

    Re: Count unique values with multiple criteria

    OR

    f5=
    Please Login or Register  to view this content.
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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] Need to Count Unique Values down a column with multiple criteria
    By RMerckling in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-21-2016, 07:39 PM
  2. Count unique values with multiple criteria from same column
    By AlexandraT in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-23-2015, 12:46 PM
  3. Count Unique Values with multiple criteria
    By TotallyLost in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-04-2015, 10:24 AM
  4. Count Unique Values for Multiple Criteria
    By timjs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2015, 10:09 AM
  5. Count unique values across 2 columns with multiple criteria
    By Skywalker01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2012, 08:04 AM
  6. Count Unique Values, but with multiple criteria
    By the northern monkey in forum Excel General
    Replies: 3
    Last Post: 02-02-2012, 07:45 AM
  7. [SOLVED] Count Unique Values with Multiple Criteria
    By JohnV in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2006, 01:10 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