Hi
I have the table below. I created a ca;cu;ated colum in Pivot table to multiple Unit * Price. However the total that Pivot table is giving me is 40 but in excel if I multiple Unit* Price for all items using Sumproduct or writing simple formula then I would give 10, So which result is right and which one is wrong. Thank you very much.
I have the table below. I created a ca;cu;ated colum in Pivot table to multiple Unit * Price. However the total that Pivot table is giving me is 40 but in excel if I multiple Unit* Price for all items using Sumproduct or writing simple formula then I would give 10, So which result is right and which one is wrong. Thank you very much.
Relationship.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Date | Region | Rep | Item | Color | Unit | Price | ||
2 | 02/01/22 | West | Kumar | Binders | Black | 1 | 1 | ||
3 | 02/01/22 | East | Walton | Pens | Black | 1 | 2 | ||
4 | 02/01/22 | Central | Jones | Desk | Black | 1 | 3 | ||
5 | 02/01/22 | Central | Jones | Binders | Red | 1 | 4 | ||
6 | |||||||||
7 | total using sumproduct | 10 | |||||||
8 | |||||||||
9 | |||||||||
10 | Pivot table | ||||||||
11 | Row Labels | unit # | sum price | Unit*Price (calculated col) | |||||
12 | Binders | 2 | 5 | 10 | |||||
13 | Desk | 1 | 3 | 3 | |||||
14 | Pens | 1 | 2 | 2 | |||||
15 | Grand Total | 4 | 10 | 40 | |||||
diff col (2) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E7 | E7 | =SUMPRODUCT(F2:F5,G2:G5) |