Solved

Excel 2010 - Calculate from multiple Pivot columns

Posted on 2011-09-02
3
290 Views
Last Modified: 2012-05-12
Dear Experts,

Sorry for the similiar question than some minutes ago, but I realized that my live example is more complex.

Could you please advise in the attached file how the formula should be in F5 column, to be able to copy down to cells F6:F12?

Hard for me to follow that how it should be if there are three Row labels as category

thanks,
CalcFromPivotColumnsComplex.xlsx
0
Comment
Question by:csehz
  • 2
3 Comments
 
LVL 1

Author Comment

by:csehz
ID: 36472755
Changing the formula for example to

=GETPIVOTDATA("Sum of Stock";$A$3;"Category";A5;"Session";B5;"Month";C5)-GETPIVOTDATA("Sum of Standard";$A$3;"Category";"A";"Session";"Q2";"Month";"Apr")


it is doing errors in cells F7, F9, F10 because there is no A column value in Category
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 36472764
This can be achieved with a calculated field within the pivot table.

Put the cursor in the header row of the pivot table. In the pivot table toolbar, click the PivotTable drop down menu and select Formulas, Calculated field.

In name give the formula a Name
In Formula, replace the = 0 with =Stock-Standard
Click Add.

There will be a warning message advising that you are overwriting existing data, your current GETPIVOTDATA formula, click OK.

Voila!

Thanks
Rob H
0
 
LVL 1

Author Comment

by:csehz
ID: 36472783
Well Rob that is really Voila :-)))

Thanks very much it works
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

776 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