+ Reply to Thread
Results 1 to 6 of 6

Counting unique values with multiple criteria

  1. #1
    Registered User
    Join Date
    01-10-2018
    Location
    Scotland
    MS-Off Ver
    Office 2013
    Posts
    16

    Counting unique values with multiple criteria

    Dear All

    I am trying to figure out formulas to calculate how many unique ID's feature for each faculty then by year. The faculty is chosen by a dropdown on cell B1 on tab Summary. All data is on tab Master.

    I have tried looking in to the frequency function but from what I have read it doesn't work on text.

    Any help would be much appreciated.

    Thanks

    J9 x
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,372

    Re: Counting unique values with multiple criteria

    That looks ideal for a Pivot Table.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-10-2018
    Location
    Scotland
    MS-Off Ver
    Office 2013
    Posts
    16

    Re: Counting unique values with multiple criteria

    I would normally but I have simplified the data and summary sheet for this purpose. There is a lot more on the real summary sheet than it shows you on the sample..

  4. #4
    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,984

    Re: Counting unique values with multiple criteria

    Is this what you meant???

    =SUM(INDEX((Master!$C$4:$C$2874=$B$1)*(Master!$B$4:$B$2874=B$6)/COUNTIFS(Master!$A$4:$A$2874,Master!$A$4:$A$2874&"",Master!$B$4:$B$2874,Master!$B$4:$B$2874&"",Master!$C$4:$C$2874,Master!$C$4:$C$2874&""),0))

    NOT checked as ~3000 rows is rather more than the 10-20 we hope to see in a sample sheet (see yellow banner, top of page).
    Attached Files Attached Files
    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

  5. #5
    Registered User
    Join Date
    01-10-2018
    Location
    Scotland
    MS-Off Ver
    Office 2013
    Posts
    16

    Re: Counting unique values with multiple criteria

    Thank you Glenn, worked a treat. Sorry about the number of rows, forgot that bit.

    Jx

  6. #6
    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,984

    Re: Counting unique values with multiple criteria

    You're welcome & thanks for the rep.

+ 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 Unique Values for Multiple Criteria
    By foreverj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2018, 03:00 PM
  2. Counting Unique values with multiple criteria
    By qussai in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-10-2017, 07:10 AM
  3. counting unique values with multiple criteria
    By freil in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-12-2016, 06:19 PM
  4. [SOLVED] Counting unique values with multiple criteria
    By f.bomb in forum Excel General
    Replies: 5
    Last Post: 08-13-2014, 05:00 AM
  5. Counting Unique Values on Multiple Criteria
    By buhwheet in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-10-2014, 01:32 AM
  6. [SOLVED] Counting Unique Values with Multiple Criteria
    By smwbuddy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-15-2013, 08:35 PM
  7. Counting Unique Values with Multiple Criteria
    By CELIA.NEFF in forum Excel General
    Replies: 10
    Last Post: 02-15-2012, 11:31 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