Pivot table for calculations

G

Guest

I am trying to perform calculations using the data directly from a pivot table.
For instance, i want to divide one of the fields by another field but
outside the table. GETPIVOTDATA does not help at all.

Thanks,
 
D

Debra Dalgleish

You can link to the pivot table cells, e.g.:

=C7/D7

or use cell references in the GETPIVOTDATA formula, instead of text, e.g.:


=GETPIVOTDATA("Total",$A$6,"Region",I8)/GETPIVOTDATA("Units",$A$6,"Region",I8)

where cell I8 contains the name of the first region.
 

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

Top