+ Reply to Thread
Results 1 to 4 of 4

PivotTables - Sum Distinct Values

  1. #1
    Registered User
    Join Date
    08-17-2022
    Location
    United States
    MS-Off Ver
    365
    Posts
    3

    PivotTables - Sum Distinct Values

    Hello all,

    I am trying to use PivotTables to summarize and filter data. I have various tables that all do what I want, except for one.
    I have a list of RMs (People), their Units Under Management, and Total Claim Cost per RM. Some properties have multiple claims, thus repeating data such as Unit count.
    (A property with 100 units might have 3 claims, making the PivotTable display 300 units.)

    Is there any way to make a PivotTable sumdistinct, or something similar, to display the RM, their units under management (counting the units for a property only once), and their total cost?

    The reason I want this information is to simply divide the total incurred by units for a claims per door column. Currently it would be using inaccurate unit numbers unless I create another data set.

    Please advise if you know the solution off the top of your head. Thank you very much.
    Please see attached for the excel file with data and examples.

    Problem Example.xlsm
    Screenshot 2022-08-17 111818.png
    Last edited by TheMacroNoob; 08-17-2022 at 04:10 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: PivotTables - Sum Distinct Values

    Sheet Data
    Cell W3=IF(COUNTIF($B$3:$B3,$B3)=1,$R3,"")

    After that a pivot table.

    See the attached file (sheet PT Oeldere)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-17-2022
    Location
    United States
    MS-Off Ver
    365
    Posts
    3

    Re: PivotTables - Sum Distinct Values

    Hello,

    You, my friend, are amazing. It is a shame to have to add another column but this is a great solution to get around the PivotTable.

    Thank you very much!

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: PivotTables - Sum Distinct Values

    Thanks for the rep.

    Glad I could help.

    Thanks for marking the question solved.

+ 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. Formula to extract unique values/distinct values in rows in excel
    By bjnockle in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2020, 05:35 PM
  2. [SOLVED] Counting distinct values in relation to text values in a separate coulumn
    By Streatty in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2019, 11:04 AM
  3. [SOLVED] get distinct values from criteria AND sum all of the values of the distinct
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-10-2017, 02:57 PM
  4. Count of Values (Rows) of Most Recent Consecutive Streak (2+ Distinct Values)
    By ExcelForum88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-13-2016, 12:26 PM
  5. Replies: 0
    Last Post: 07-21-2015, 04:44 PM
  6. PivotTables - how to group non-integer values?
    By davidd31415 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-20-2015, 10:08 AM
  7. PivotTables Showing percent. instead of values
    By Saturn in forum Excel General
    Replies: 10
    Last Post: 06-12-2010, 04:24 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