+ Reply to Thread
Results 1 to 5 of 5

Count unique value in pivot table

  1. #1
    Registered User
    Join Date
    05-17-2007
    Posts
    45

    Count unique value in pivot table

    Hello,

    I'm working with data for call volume that is pulled weekly where each call has a unique ID (text value, ie 2-1005-01) -- and I'm running in to problems where if a call isn't recieved by one controller it uses the same ID and gets rolled to the next available controller, but shows as two line items -- I'd like to be able to count the number of unique call IDs by week.

    Any thoughts/ideas are greatly appreciated!

    Thank you

  2. #2
    Registered User
    Join Date
    11-22-2010
    Location
    Finland
    MS-Off Ver
    Excel 2003, 2007
    Posts
    95

    Re: Count unique value in pivot table

    This should do it: http://www.excelforum.com/excel-work...in-counts.html
    An example file is never useless!

    Tried an example function of mine and got errors?
    - Had you found them, replace ; with , and , with .

  3. #3
    Registered User
    Join Date
    11-19-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Count unique value in pivot table

    Hello,
    this code should allow you to use the unique count as a data field, letting you see the result by week or other indicators.
    I'm using it but would like to know if it's working for others. It's juste code to paste once.
    http://lazyvba.blogspot.com/2010/11/...-to-count.html

    let me know and have a good day

  4. #4
    Registered User
    Join Date
    05-17-2007
    Posts
    45

    Re: Count unique value in pivot table

    I ended up creating a column using IF(COUNTIF($B$2:B2,B2)=1,1,0) and dragging it the length

    It looks like the formula you pointed me to KiPA would work just the same -- and I'm just checking out your site now lazyvba -- I'll have to get back to you on trying it out.

    Thanks for your help!

  5. #5
    Registered User
    Join Date
    05-17-2007
    Posts
    45

    Re: Count unique value in pivot table

    I'm working in Excel 03 -- didn't meet the requirements for vba...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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