Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

division calculation between

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Division calculation between 2 pivot tables

Division calculation between 2 pivot tables

ResolvedVersion 2007

Efstratia has attended:
Excel Advanced course

Division calculation between 2 pivot tables

Hi,
I have 2 pivot tables with the same fields but different numbers in the same sheet and i want to make a division calculation between these two. what i need to do?

RE: division calculation between 2 pivot tables

Hi Efstratia

Thanks for getting in touch. If you want to divide two items on the PivotTable to calculate variance for example, I've written a lot about it with an example file here:

https://www.stl-training.co.uk/post-34188-showing--variance-data.html

If however, you're talking about two separate PivotTables you might get unexpected results when trying to divide the contents of one by the contents of another. Your first formula will work but if you drag down the rest won't.

This is due to a feature called GetPivotData. To turn this off, with a PivotTable selected you can go to the Options button, drop-down Options on the left side, and select Generate GetPivotData. Try using your formula again and you might get the results you expect.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Wed 11 Jun 2014: Automatically marked as resolved.

Excel tip:

No Zeros

Want all the zeros in your worksheet to appear blank? Choose Tools/Options, Click on the View Tab, Deselect the Zero Values Option, Click OK.
Easy wasn't it? But be aware that these cells are not actually blank, they still contain the value zero. This is important because certain functions (ie AVERAGE) make a distinction between blank cells and those with a zero value.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.