By using a PT, each time the raw data is updated, then click on the Refresh Button in the Ribbon and your result is updated.
An alternate means to this is to use Power Query. Every time the raw data is updated, click on the refresh button to update the result. Here is the Mcode
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Pivoted Column" = Table.Pivot(Source, List.Distinct(Source[#"User ID"]), "User ID", "Qty", List.Sum),
#"Unpivoted Only Selected Columns" = Table.Unpivot(#"Pivoted Column", {"Tom", "Joe", "Mary", "Brian", "Jim", "Claire"}, "Attribute", "Value")
in
#"Unpivoted Only Selected Columns"
Data Range
|
A |
B |
1 |
Attribute |
Value |
2 |
Tom |
15 |
3 |
Joe |
15 |
4 |
Mary |
25 |
5 |
Brian |
25 |
6 |
Jim |
20 |
7 |
Claire |
10 |
Bookmarks