Hi
if i understand you correctly
=GETPIVOTDATA("Total Student Capacity",INDIRECT(A5 &"!B9"))
hope this helps
Cheers
JulieD
"neoschenker" wrote in message
...
I am trying to get the sytax right on a function that gets a value from a
pivot table:
=GETPIVOTDATA((cell("contents",a5))!B9,"Total Student Capacity")
I need it to get the contents from A5 which is the name of a worksheet in
the file. I've looked through help and tried a bunch of different things
with no luck. I have a long list of names that I don't want to have to
manually type in the sheet name as I will be adding in more data later.
Any
help would be greatly appreciated.
|