Closed Thread
Results 1 to 3 of 3

Sum vs. Count in Pivot Tables

  1. #1
    les8
    Guest

    Sum vs. Count in Pivot Tables

    Why, in pivot tables, do I sometimes get "sum" and other times
    "count" when putting fields in the data section? I import data
    from CSV files, and in one file I am trying to get the sum of
    invoices (and I get count) while in another I am trying to get the
    sum of purchase orders (and I get sum).

    Thanks for any insights.



  2. #2
    Ron Coderre
    Guest

    RE: Sum vs. Count in Pivot Tables

    I believe the field defaults to SUM if all referenced cells in that field
    contain numbers. It uses COUNT if any of the cells contain blanks or text.

    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "les8" wrote:

    > Why, in pivot tables, do I sometimes get "sum" and other times
    > "count" when putting fields in the data section? I import data
    > from CSV files, and in one file I am trying to get the sum of
    > invoices (and I get count) while in another I am trying to get the
    > sum of purchase orders (and I get sum).
    >
    > Thanks for any insights.
    >
    >


  3. #3
    les8
    Guest

    RE: Sum vs. Count in Pivot Tables

    Ron,
    thanks! One less of life's mysteries to keep me up at night.


    "Ron Coderre" wrote:

    > I believe the field defaults to SUM if all referenced cells in that field
    > contain numbers. It uses COUNT if any of the cells contain blanks or text.
    >
    > Does that help?
    >
    > ***********
    > Regards,
    > Ron
    >
    > XL2002, WinXP-Pro
    >
    >
    > "les8" wrote:
    >
    > > Why, in pivot tables, do I sometimes get "sum" and other times
    > > "count" when putting fields in the data section? I import data
    > > from CSV files, and in one file I am trying to get the sum of
    > > invoices (and I get count) while in another I am trying to get the
    > > sum of purchase orders (and I get sum).
    > >
    > > Thanks for any insights.
    > >
    > >


Closed 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