I have a pivot table that provides the data for individual employee reports. The employee's name is in cell A1 of each report, and it shows an amount by line of business. Each employee name is also an item in the pivot table. Lines of business are items in another pivot table field. Is there a way to reference the the cells in the left column of the (very simplified) table below, so that the items in the GETPIVOTDATA formula needn't be manually keyed in for each employee's report?
I should probably note that the employee's name is the result of a formula referencing the sheet name - not a text string.
[TABLE="width: 500"]
<tbody>[TR]
[TD]SMITH
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]LOB1
[/TD]
[TD]=GETPIVOTDATA("AMOUNT",Sheet1!$A$3,"EMPLOYEE","SMITH","LOB","LOB1")
[/TD]
[/TR]
[TR]
[TD]LOB2
[/TD]
[TD]=GETPIVOTDATA("AMOUNT",Sheet1!$A$3,"EMPLOYEE","SMITH","LOB","LOB2")
[/TD]
[/TR]
[TR]
[TD]LOB3
[/TD]
[TD]=GETPIVOTDATA("AMOUNT",Sheet1!$A$3,"EMPLOYEE","SMITH","LOB","LOB3")
[/TD]
[/TR]
</tbody>[/TABLE]
I should probably note that the employee's name is the result of a formula referencing the sheet name - not a text string.
[TABLE="width: 500"]
<tbody>[TR]
[TD]SMITH
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]LOB1
[/TD]
[TD]=GETPIVOTDATA("AMOUNT",Sheet1!$A$3,"EMPLOYEE","SMITH","LOB","LOB1")
[/TD]
[/TR]
[TR]
[TD]LOB2
[/TD]
[TD]=GETPIVOTDATA("AMOUNT",Sheet1!$A$3,"EMPLOYEE","SMITH","LOB","LOB2")
[/TD]
[/TR]
[TR]
[TD]LOB3
[/TD]
[TD]=GETPIVOTDATA("AMOUNT",Sheet1!$A$3,"EMPLOYEE","SMITH","LOB","LOB3")
[/TD]
[/TR]
</tbody>[/TABLE]