+ Reply to Thread
Results 1 to 4 of 4

Count unique??

  1. #1
    Registered User
    Join Date
    07-09-2012
    Location
    Berkeley, California
    MS-Off Ver
    Excel 2013
    Posts
    37

    Count unique??

    Hi all,

    I need help with an employee database request. I have three columns of data: employee ID, job number/classification, and job title. In my organization, job titles can tie to one job number, or several. Example: all Accountant I's within our organization have the same job number, because they do the same job. Engineer I's can have different job numbers, for the different jobs Engineer I's can do (Software Engineers I, Database Engineers I, etc.). An example of job number is 546459 - they are quite long.

    I have a list of all employees IDs (unique for all employees), and their corresponding job numbers and job titles. What I want is a list of how many instances of different job numbers correspond to each job title. To take the example above, Accountant I would have one job number, because all Accountant I's have the same job number. Engineer I would have 25 or so job numbers, because we have a whole lot of Engineer I's.

    Pivot table doesn't seem to be able to do this, as it counts the number of individuals in a job number, rather than the number of job numbers that would correspond to a title.

    The lay out of the spreadsheet is:

    Emploee ID | Job Title | Job Classificatiom
    001 | Accountant I | 1234
    002 | Accountant I | 1234
    003 | Engineer I | 2223
    004 | Engineer I | 8888

    Any help is much appreciated as always!

  2. #2
    Valued Forum Contributor
    Join Date
    09-01-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    324

    Re: Count unique??

    Hello,

    Actually your pivot table can do this if you set it up correctly.

    Pivot Physical Setup
    1. Highlight all data columns
    2. Go to Insert tab
    3. Click pivot table icon
    4. Tic mark existing worksheet
    5. Place cursor in Loction: text box
    6. Click the cell location on the sheet to place the pivot table
    7. Press OK

    Pivot Data Setup
    1. Drag the label representing the Job Title to Row Labels
    2. Drag the label representing the Job Calssification to Row Labels
    3. Drag the label representing the Job Calssification to Values

    The PivotTable should show the count for each classification per job in the sub categories for the Job title in the pivot so you may have to Expand or Collapse All of the categories in the pivot table.


    Shelton A.
    If Helpful, Add Reputaion!

  3. #3
    Registered User
    Join Date
    07-09-2012
    Location
    Berkeley, California
    MS-Off Ver
    Excel 2013
    Posts
    37

    Re: Count unique??

    Well, slap my face and call me stupid. Thanks very much.

  4. #4
    Valued Forum Contributor
    Join Date
    09-01-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    324

    Re: Count unique??

    lol. You're more than welcome and i'm glad I could help!

+ 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] 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
  2. [SOLVED] changing a current mod (count unique visible cells ->count unique visible cells criteria
    By liranbo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2012, 03:58 AM
  3. Replies: 0
    Last Post: 03-22-2012, 08:44 PM
  4. Replies: 2
    Last Post: 02-11-2012, 09:33 PM
  5. Replies: 17
    Last Post: 08-24-2009, 08:58 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