I have a pivot table with some data that im trying to reference with one sheet and then cross reference it with another to compare the two values.
What I have at the moment is similar tot he formula listed here – http://www.techonthenet.com/excel/pivottbls/getpivotdata2.php
However, instead of writing =GetPivotData (team_count,"'Team 1' 'Count of B'") and then changing it for the rest of the cells in my worksheet.
I want to be able to reference cells that contain the data I want to look up. So for example, I would have Team 1 in cell A2 and Count of B in cell A3.
Ive tried rewriting the formula to =GetPivotData (team_count, A2, A3) but that just gives me an error :/
if you want to create a string
"'Team 1' 'Count of B'"from cells A2 and A3:=getpivotdata(team_count, "'" & A2 & "' '" & A3 & "'")