T
troy.litwiler
Hi all. I have a question that seems like it would have an easy
solution, but several hours of searching through the message boards
hasn't solved it yet - so here it is:
I have a pivot table which is updated monthly from a database. I use
this pivot table to create a report based on the totals and
subtotals. One of the subtotals is based on a product ID, from which
there are thousands of possible options. The table itself typically
looks like:
A B C D
Group Type ID Count
MC D 123 12
MC D 124 15
MC N 167 2
MC N 198 9
SW D 109 3
SW N 108 5
SW N 105 9
So that the pivot table looks like:
A B C D
MC 38
D 27
123 12
124 15
N 11
167 02
198 09
Because the number of product ID's can change, the number of rows
beneath the "D" and "N" count varies. For my report, I need a total
of all the product IDs and their individual counts copied onto another
worksheet within the same workbook. I have tried using variable
ranges, offsets, if statements - but haven't even gotten close. Any
assistance with this would be appreciated. Thanks in advance.
solution, but several hours of searching through the message boards
hasn't solved it yet - so here it is:
I have a pivot table which is updated monthly from a database. I use
this pivot table to create a report based on the totals and
subtotals. One of the subtotals is based on a product ID, from which
there are thousands of possible options. The table itself typically
looks like:
A B C D
Group Type ID Count
MC D 123 12
MC D 124 15
MC N 167 2
MC N 198 9
SW D 109 3
SW N 108 5
SW N 105 9
So that the pivot table looks like:
A B C D
MC 38
D 27
123 12
124 15
N 11
167 02
198 09
Because the number of product ID's can change, the number of rows
beneath the "D" and "N" count varies. For my report, I need a total
of all the product IDs and their individual counts copied onto another
worksheet within the same workbook. I have tried using variable
ranges, offsets, if statements - but haven't even gotten close. Any
assistance with this would be appreciated. Thanks in advance.