Hi,
I am trying to find the SUM of the WEIGHTED AVERAGE, based on dividing the COUNT of unique combination of values in a row based on three values (COL A, B, and C) DIVIDED by COL D in a pivot table.
Multiple occurrences of data in COL A B and C, causes a duplicate in COL D which I am have a pivot table tracking the grand totals on a separate sheet.
I have a working formula to correct for these duplicates but I have no idea how to transfer this onto a pivot table.
The formula is
SUMPRODUCT(1/COUNTIFS(Data!A2:A36,Data!A2:A36,Data!B2:B36,Data!B2:B36,Data!C2:C36,Data!C2:C36),Data!D2:D36),
which I would have assumed would transfer over to
SUMPRODUCT(1/COUNTIFS(COL A,COL A,COL B,COL B,COL C,COL C),COL D) on the pivot table but it does not.
Can anyone tell me what I am doing wrong?
I am trying to find the SUM of the WEIGHTED AVERAGE, based on dividing the COUNT of unique combination of values in a row based on three values (COL A, B, and C) DIVIDED by COL D in a pivot table.
Multiple occurrences of data in COL A B and C, causes a duplicate in COL D which I am have a pivot table tracking the grand totals on a separate sheet.
I have a working formula to correct for these duplicates but I have no idea how to transfer this onto a pivot table.
The formula is
SUMPRODUCT(1/COUNTIFS(Data!A2:A36,Data!A2:A36,Data!B2:B36,Data!B2:B36,Data!C2:C36,Data!C2:C36),Data!D2:D36),
which I would have assumed would transfer over to
SUMPRODUCT(1/COUNTIFS(COL A,COL A,COL B,COL B,COL C,COL C),COL D) on the pivot table but it does not.
Can anyone tell me what I am doing wrong?
Last edited: