Hi, I'm hoping for some help writing a formula. I have a pivot table which is an extract of accounting data. I need to move the data from the pivot table to a template used in a monthly report.
Essentially, my pivot table is Cost centre numbers as the Column labels, and General Ledger numbers for the row labels. The problem is there are hundreds of cost centres and thousands of GL codes. In my template, I want to use a Vlookup to return the GL value, but for each individual cost centres. I'm hoping there is an easier way then setting up a Vlookup for each cost centre to return the value in a certain column number, as the pivot table I'm using changes from month to month, Some months certain cost centres are added or removed.)
Here is a sample of what my pivot table looks like:
[TABLE="class: outer_border, width: 500, align: right"]
<tbody>[TR]
[TD][/TD]
[TD]CXXXX1[/TD]
[TD]CXXXX2[/TD]
[TD]CXXXX3[/TD]
[TD]CXXXX4[/TD]
[/TR]
[TR]
[TD]1001[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4000[/TD]
[/TR]
[TR]
[TD]1002[/TD]
[TD]10000[/TD]
[TD]7000[/TD]
[TD]6540[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1003[/TD]
[TD][/TD]
[TD]4000[/TD]
[TD][/TD]
[TD]9000[/TD]
[/TR]
[TR]
[TD]1004[/TD]
[TD]8000[/TD]
[TD][/TD]
[TD]6000[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My template looks similar, however it is just a data table. I need to move the summarized data from the pivot table to the template to feed other reports.
Can I use a vlookup on the condition that the template column label matches the pivot table column label? I hope this is clear enough.
Thanks
Essentially, my pivot table is Cost centre numbers as the Column labels, and General Ledger numbers for the row labels. The problem is there are hundreds of cost centres and thousands of GL codes. In my template, I want to use a Vlookup to return the GL value, but for each individual cost centres. I'm hoping there is an easier way then setting up a Vlookup for each cost centre to return the value in a certain column number, as the pivot table I'm using changes from month to month, Some months certain cost centres are added or removed.)
Here is a sample of what my pivot table looks like:
[TABLE="class: outer_border, width: 500, align: right"]
<tbody>[TR]
[TD][/TD]
[TD]CXXXX1[/TD]
[TD]CXXXX2[/TD]
[TD]CXXXX3[/TD]
[TD]CXXXX4[/TD]
[/TR]
[TR]
[TD]1001[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4000[/TD]
[/TR]
[TR]
[TD]1002[/TD]
[TD]10000[/TD]
[TD]7000[/TD]
[TD]6540[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1003[/TD]
[TD][/TD]
[TD]4000[/TD]
[TD][/TD]
[TD]9000[/TD]
[/TR]
[TR]
[TD]1004[/TD]
[TD]8000[/TD]
[TD][/TD]
[TD]6000[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My template looks similar, however it is just a data table. I need to move the summarized data from the pivot table to the template to feed other reports.
Can I use a vlookup on the condition that the template column label matches the pivot table column label? I hope this is clear enough.
Thanks