Solved

Excel 2010 - Calculation from Pivot columns

Posted on 2011-09-02
2
257 Views
Last Modified: 2012-05-12
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
Comment
Question by:csehz
2 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 500 total points
ID: 36472663
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
 
LVL 1

Author Closing Comment

by:csehz
ID: 36472681
Thanks it is super like that
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question