+ Reply to Thread
Results 1 to 6 of 6

Pivot Table Question

  1. #1
    Registered User
    Join Date
    11-06-2003
    Posts
    33

    Pivot Table Question

    I have a data set where one column has a list of different names. In some cases, these names show up multiple times.

    Is it possible to create a pivot table that sums up the number of times that each name shows up? I've been trying it in the wizard and have been unable to do anything but count the total number of names in the column.

    Thanks in advance!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    This link may help

    http://www.contextures.com/xlPivot07.html#Unique

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    11-06-2003
    Posts
    33
    Thanks so much for the quick reply. I apologize for being dense, but I am still unable to get it to work right.

    If my list of "customers" is in column A, how would use that formula to get unique counts of customers for the pivot table?

    Thanks again.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =IF(SUMPRODUCT(--($A$1:$A1=A1))>1,0,1)

    VBA Noob

  5. #5
    Registered User
    Join Date
    11-06-2003
    Posts
    33
    Thanks! It works perfectly!

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    VBA Noob

+ 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