Hi,
I would like to be able to use the getpivotdata function in Sheet 2 below based on 2 criteria, the "BusUnit" and "Account". Can this be done using some variation of GETPIVOTDATA? Example of Source Data (Sheet1) and Destination (Sheet 2) are below.
Thanks in advance,
XLML
I would like to be able to use the getpivotdata function in Sheet 2 below based on 2 criteria, the "BusUnit" and "Account". Can this be done using some variation of GETPIVOTDATA? Example of Source Data (Sheet1) and Destination (Sheet 2) are below.
Thanks in advance,
XLML
PT2.xls | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | BusUnit | Account | Amount | Sum of Amount | |||||
2 | 1000 | 60225 | 75 | BusUnit | Account | Total | |||
3 | 2020 | 60430 | 60 | 1000 | 60225 | 200 | |||
4 | 1000 | 60225 | 125 | 1000 Total | 200 | ||||
5 | 2020 | 60430 | 30 | 2020 | 60430 | 90 | |||
6 | 2020 Total | 90 | |||||||
7 | Grand Total | 290 | |||||||
Sheet1 |
PT2.xls | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | BusUnit | Account | GETPIVOTDATA | |||
2 | 1000 | 60225 | ||||
3 | 2020 | 60430 | ||||
Sheet2 |