Hi All,
I am trying to design a pivot table and subsequent "getpivotdata" within a workbook that I need assistance with.
First I have a table of customer data and in Cell $B$58 in sheet "Account Growth" I have a listbox with choices: "Existing", "Prospect" and "COI", I have a pivot table in $AL$1 of "Customer Information" sheet (which references my CustomerData in same sheet). I would like the pivot table to look at $B$58 as input ('Relationship')and then return all customer names that match $B$58 and put the names in the rows starting at $B$61. Below is snap of "Pivot table, with 'Row Label' as 'Customer Name' and input as 'Relationship'.
[TABLE="width: 755"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD] <style> <!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} @page {margin:.25in .25in .25in .25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-page-orientation:landscape;} td {padding:0px; mso-ignore
adding; color:windowtext; font-size:10.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Arial; mso-generic-font-family:auto; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;} .xl67 {text-align:left;} .xl68 {color:#0000D4; font-family:Calibri, sans-serif; mso-font-charset:0;} .xl69 {color:#0000D4; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:"\[<=9999999\]\#\#\#\\-\#\#\#\#\;\\\(\#\#\#\\\)\\ \#\#\#\\-\#\#\#\#"; text-align:left;} .xl70 {color:silver; font-family:Calibri, sans-serif; mso-font-charset:0; background:silver; mso-pattern:black none;} .xl71 {color:silver; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:"\[<=9999999\]\#\#\#\\-\#\#\#\#\;\\\(\#\#\#\\\)\\ \#\#\#\\-\#\#\#\#"; text-align:left; background:silver; mso-pattern:black none;} --> </style> [TABLE="width: 566"]
<colgroup><col style="mso-width-source:userset;mso-width-alt:3413;width:80pt" width="80"> <col style="mso-width-source:userset;mso-width-alt:4096;width:96pt" width="96"> <col style="mso-width-source:userset;mso-width-alt:5632;width:132pt" width="132"> <col style="mso-width-source:userset;mso-width-alt:1877;width:44pt" width="44"> <col style="mso-width-source:userset;mso-width-alt:3370;width:79pt" width="79"> <col style="mso-width-source:userset;mso-width-alt:5760;width:135pt" width="135"> </colgroup><tbody>[TR]
[TD="width: 80"]Relationship[/TD]
[TD="width: 96"](All)[/TD]
[TD="class: xl69, width: 132"][/TD]
[TD="class: xl69, width: 44"][/TD]
[TD="class: xl69, width: 79"][/TD]
[TD="class: xl68, width: 135"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Row Labels[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"]Hutterite Colony[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"](blank)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"]Grand Total[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Any help would be greatly appreciated.
Thanks,
Trevor
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to design a pivot table and subsequent "getpivotdata" within a workbook that I need assistance with.
First I have a table of customer data and in Cell $B$58 in sheet "Account Growth" I have a listbox with choices: "Existing", "Prospect" and "COI", I have a pivot table in $AL$1 of "Customer Information" sheet (which references my CustomerData in same sheet). I would like the pivot table to look at $B$58 as input ('Relationship')and then return all customer names that match $B$58 and put the names in the rows starting at $B$61. Below is snap of "Pivot table, with 'Row Label' as 'Customer Name' and input as 'Relationship'.
[TABLE="width: 755"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD] <style> <!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} @page {margin:.25in .25in .25in .25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-page-orientation:landscape;} td {padding:0px; mso-ignore

<colgroup><col style="mso-width-source:userset;mso-width-alt:3413;width:80pt" width="80"> <col style="mso-width-source:userset;mso-width-alt:4096;width:96pt" width="96"> <col style="mso-width-source:userset;mso-width-alt:5632;width:132pt" width="132"> <col style="mso-width-source:userset;mso-width-alt:1877;width:44pt" width="44"> <col style="mso-width-source:userset;mso-width-alt:3370;width:79pt" width="79"> <col style="mso-width-source:userset;mso-width-alt:5760;width:135pt" width="135"> </colgroup><tbody>[TR]
[TD="width: 80"]Relationship[/TD]
[TD="width: 96"](All)[/TD]
[TD="class: xl69, width: 132"][/TD]
[TD="class: xl69, width: 44"][/TD]
[TD="class: xl69, width: 79"][/TD]
[TD="class: xl68, width: 135"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Row Labels[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"]Hutterite Colony[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"](blank)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"]Grand Total[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Any help would be greatly appreciated.
Thanks,
Trevor
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]