I have seen questions about this in various places but I cant see an answer to my ordeal.
Am I right in thinking that "PivotTable1" is not a valid table_array name.
My Pivot table by definition is dynamic so I can not fix the range
anyway here is what I am trying to do:
On the left is my pivot table (PivotTable1)
I want to take this info and recreate it on the right adding some additional info about the values
For example Retailer 1 has a total of 303 promotions over a period
divided up between 5 different types of promotion
Money off, for example represents 25.08% of total promotions for that retailer (Retailer1 in this case)
If a retailer has no offers during the selected period, the row will dissapear from pivot table
If a Retailer8 (not shown) has a promotion it will appear in the pivot Table
If no retailer has any BOGOFF promotions that column will dissapaer etc
My attempts so far have revolved around this, to no avail:
In Cell L3
Am I right in thinking that "PivotTable1" is not a valid table_array name.
My Pivot table by definition is dynamic so I can not fix the range
anyway here is what I am trying to do:
On the left is my pivot table (PivotTable1)
I want to take this info and recreate it on the right adding some additional info about the values
For example Retailer 1 has a total of 303 promotions over a period
divided up between 5 different types of promotion
Money off, for example represents 25.08% of total promotions for that retailer (Retailer1 in this case)
If a retailer has no offers during the selected period, the row will dissapear from pivot table
If a Retailer8 (not shown) has a promotion it will appear in the pivot Table
If no retailer has any BOGOFF promotions that column will dissapaer etc
My attempts so far have revolved around this, to no avail:
In Cell L3
Code:
=VLOOKUP(K3,pivottable1,2)
Excel Workbook | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | |||
1 | Count of Promotion Type | Column Labels | |||||||||||||||||
2 | Row Labels | BOGOFF | Extra Free | Link Save | Money Off | Other | Grand Total | BOGOFF | Extra Free | Link Save | Money Off | Other | Grand Total | ||||||
3 | Retailer1 | 227 | 76 | 303 | Retailer1 | 227 | 76 | 303 | |||||||||||
4 | Retailer2 | 15 | 118 | 14 | 24 | 171 | 0.00% | 0.00% | 74.92% | 25.08% | 0.00% | ||||||||
5 | Retailer3 | 10 | 4 | 183 | 22 | 1 | 220 | ||||||||||||
6 | Retailer4 | 6 | 59 | 77 | 142 | Retailer2 | 15 | 118 | 14 | 24 | 171 | ||||||||
7 | Retailer5 | 95 | 35 | 130 | 0.00% | 8.77% | 69.01% | 8.19% | 14.04% | ||||||||||
8 | Retailer6 | 5 | 5 | 225 | 75 | 21 | 331 | ||||||||||||
9 | Retailer7 | 3 | 123 | 23 | 149 | Retailer3 | 10 | 4 | 183 | 22 | 1 | 220 | |||||||
10 | Grand Total | 15 | 33 | 1030 | 322 | 46 | 1446 | 4.55% | 1.82% | 83.18% | 10.00% | 0.45% | |||||||
11 | |||||||||||||||||||
12 | Retailer4 | 6 | 59 | 77 | 142 | ||||||||||||||
13 | 0.00% | 4.23% | 41.55% | 54.23% | 0.00% | ||||||||||||||
14 | |||||||||||||||||||
15 | Retailer5 | 95 | 35 | 130 | |||||||||||||||
16 | 0.00% | 0.00% | 73.08% | 26.92% | 0.00% | ||||||||||||||
17 | |||||||||||||||||||
18 | Retailer6 | 5 | 5 | 225 | 75 | 21 | 331 | ||||||||||||
19 | 1.51% | 1.51% | 67.98% | 22.66% | 6.34% | ||||||||||||||
20 | |||||||||||||||||||
21 | Retailer7 | 3 | 123 | 23 | 149 | ||||||||||||||
22 | 0.00% | 2.01% | 82.55% | 15.44% | 0.00% | ||||||||||||||
Sheet2 |