+ Reply to Thread
Results 1 to 4 of 4

Pivot table is summing up unique fields when I don't want it

  1. #1
    Registered User
    Join Date
    05-02-2019
    Location
    warsaw
    MS-Off Ver
    version 1903
    Posts
    2

    Pivot table is summing up unique fields when I don't want it

    I have an spreadsheat, let's say A,B,C,D and E with the amount
    A,B,C, are unique, but D happens more than once (4 times) for each D the E amount is the same,
    I want to sum up all D records, with just 1 E for them (not 4)
    i don't want to delete any position from the pivot table data source
    anyone has an idea?

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Pivot table is summing up unique fields when I don't want it

    can you set your data field (E) to Average, rather than Sum?

  3. #3
    Registered User
    Join Date
    05-02-2019
    Location
    warsaw
    MS-Off Ver
    version 1903
    Posts
    2
    Quote Originally Posted by XLent View Post
    can you set your data field (E) to Average, rather than Sum?
    It will give me average of total data,
    For example if i have 400 records, with 130 unique D and E, i want sum the average of unique records

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Pivot table is summing up unique fields when I don't want it

    SUM E and then divide by COUNT OF E?

    If you need this done in calculated field, you'll need to add helper column on source table (each row having 1).
    Then divide SUM of E by SUM of Helper.
    (i.e. 'E Column'/'Helper Column'. Since PivotTable's calculated field performs sum of all rows in context, before any other calculations are performed)

    Alternately you can use DAX formula if you can add the table to data model.
    Last edited by CK76; 05-02-2019 at 09:20 AM.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

+ 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. Hide fields(table columns) from Pivot table Fields
    By alexholly in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-28-2017, 08:24 PM
  2. Replies: 2
    Last Post: 10-26-2015, 06:49 AM
  3. Summing pivot fields where value is 1
    By Leanne_B in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 05-14-2013, 02:00 PM
  4. Listing unique values and summing w/o a pivot table
    By Drew Goldberg in forum Excel General
    Replies: 24
    Last Post: 02-16-2013, 09:52 PM
  5. Unique Values and summing using Pivot table
    By skyping in forum Excel General
    Replies: 6
    Last Post: 08-03-2010, 12:43 PM
  6. How to Disable automatic fields in pivot table like total and count on fields
    By anushka in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-24-2009, 07:53 AM
  7. Differentiate between column fields and data fields in a pivot table
    By whiteheadw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2009, 01:59 PM

Tags for this Thread

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