GetPivotData

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

I have a formula in cell A2 that references D2. like "=D2". D2 happens to
be part of a pivot table (a grand total). how can I make sure that the cel
reference follows or "chases" when the size of the pivot table decreases or
increases. I want to avoind using GetPivotData if possible

thanks in advance,
geebee
 
Get pivot data is really the only good option. What is your aversion to
getpivotdata? Perhaps we can work around it...
 
well lets say you take a grand total for a value that no longer exists in
the table. then it will be wrongly be based on the grand total for something
else, or you will get the error.
 
The error is easy to get around with an IsError formula something like this

=if(iserror(GetPivotData(...)), 0, GetPivotData(...))

The grand total showing the incorrect amount will be more difficult (no
matter whether you use getpivotdata or not) beause it will reflect the result
based on the filters and aggregations you have in place.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top