Excel 2010 - Calculation from Pivot columns

csehz
csehz used Ask the Experts™
on
Dear Experts,

Can you please have a look at the pivot in the attached file, in D5 there is a formula

=GETPIVOTDATA("Sum of Stock";$A$3;"Category";"A")-GETPIVOTDATA("Sum of Standard";$A$3;"Category";"A")

But somehow if I copy this formula down so to follow this logic also in cells D6-D7-D8, it writes everywhere the same value.

Can you please advise how the formula should be to be able to copy down?

thanks,
CalcFromPivotColumns.xlsx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2011
Awarded 2010
Commented:
Hello,

edit the formula in cell D5 to read

=GETPIVOTDATA("Sum of Stock",$A$3,"Category",A5)-GETPIVOTDATA("Sum of Standard",$A$3,"Category","A")

then copy down.

cheers, teylyn
csehzIT consultant

Author

Commented:
Thanks it is super like that

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial