• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

Excel 2010 - Calculation from Pivot columns

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
0
csehz
Asked:
csehz
1 Solution
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
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
0
 
csehzIT consultantAuthor Commented:
Thanks it is super like that
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now