+ Reply to Thread
Results 1 to 5 of 5

Count Unique Values Using Two Columns of Data

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    6

    Count Unique Values Using Two Columns of Data

    Hello,

    Thanks in advance for your help. Below I have a list of employees and a list of #'s showing the job function that they completed. I want to count the number of job functions completed by each employee without counting multiple times when they complete a job function more than once (unique values). So for the example seen below I need the formula to give me a result of 5 job functions completed for Doe, John.

    A B
    1 Employee Job Function
    2 Doe, John 145729
    3 Doe, John 145727
    4 Doe, John 145725
    5 Doe, John 145725
    6 Doe, John 145723
    7 Doe, John 145723
    8 Doe, John 145721

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Count Unique Values Using Two Columns of Data

    D2: Doe, John

    E2: =SUM(SIGN(FREQUENCY(IF(A$2:A$8=D2,B$2:B$8),B$2:B$8)))

    Press Ctrl+Shift+Enter, not just Enter

  3. #3
    Registered User
    Join Date
    12-07-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Count Unique Values Using Two Columns of Data

    SOLVED! Thank you!

  4. #4
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Count Unique Values Using Two Columns of Data

    You're Welcome!

  5. #5
    Registered User
    Join Date
    12-07-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Count Unique Values Using Two Columns of Data

    I just realized that I am going to need to use "Calculate Sheet" to generate all of these numbers. With the amount of data in this file that could take awhile. Are there any other functions I could use that would get these same numbers but would not take so long to calculate? Maybe something other than an array function... or maybe I'm just dreaming. Thanks for the thoughts.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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