+ Reply to Thread
Results 1 to 2 of 2

Using a Pivot Table Calculated Field to get a Unique Count

  1. #1
    Mike Struckman
    Guest

    Using a Pivot Table Calculated Field to get a Unique Count

    I am using a Pivot Table to view data from a very large database. The Pivot
    Table has the following fields: Customer, Quarter and Sales. There are many
    duplicate Customer sales in the database.

    I would like to create a Pivot Table that calculates the # of unique
    customers in each quarter. If I use the Pivot Table Count function it double
    counts all of the duplicate Customer entries. Can I create a Calculated Field
    that accomplishes this?

    I have tried using this formula that I found in a previous string,
    “=SUM(IF(LEN(Sheet1!A2:A100)>0,1/COUNTIF(Sheet1!A2:A100,Sheet1!A2:A100)))�,
    but since I am using it in a Pivot Table calculated field I used the
    following format: “=SUM(IF(LEN(Customer)>0,1/COUNTIF(Customer, Customer)))�.
    Where “Customer� is inserted from the Pivot Table field list. I get a “The
    function contains an error� message.

    Can you help me understand what I am doing wrong? Thanks!

    --
    Mike Struckman

  2. #2
    cs02000
    Guest

    Re: Using a Pivot Table Calculated Field to get a Unique Count


    Post an email address and I'll send you what I worked on. This site
    doesn't allow me to post an Excel file (go figure)


    --
    cs02000

+ 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