Learn Excel 2010 - "Pivot Table Delta": #1435

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Sep 26, 2011.
Viabahv asks how to replace the grand total column in a Pivot Table with a Delta Column. Bill re-introduces us to the oft hated Calulated Item feature to solve this problem today, in Episode #1435. "Learn Excel 2007 through Excel 2010" by Bill Jelen!
maxresdefault.jpg


Transcript of the video:
MrExcel podcast is sponsored by Easy-XL.
Learn Excel from MrExcel podcast, episode 1435: pivot table delta.
Hey, welcome back to the MrExcel netcast.
I'm Bill Jelen.
Today's question is sent in by Viabahv.
Creating a pivot table, insert pivot table, OK.
We want products going down the left-hand side, period going across the top and then amount in the heart of the pivot table.
Let's take a look at the pivot table.
So, we have last year, this year, and then a total, but no one really wants a total there.
We want to see the Delta like this.
This is what we're trying to create.
So, last year, this year, and then the difference.
Well, how do we do that?
Okay, first thing we want to do is we want to get rid of the grand total over here.
So, I go to the design tab and under grand totals-- I always have to think about this.
I only want the grand total at the bottom of the columns and so leave that there.
Then, I'm going to go to this cell or this cell.
One of those two cells I'm going to insert a brand new calculation.
Now, in Excel 2010, they have this nice calculations drop-down out here.
Outside of review, I realized that fields, items, and sets and then calculated item.
Calculated item.
Back in Excel 2007, I think it was about this point on the ribbon: formulas, calculated item.
So, we're going to create a brand new formula here called Delta and we’re going to say, equal to this year.
I double-click and then minus last year, double-click, click OK and we now have the calculated Delta.
This is nice.
If we decide to add something else in, you know, we'll still get those calculated deltas.
So, it's better than building a formula outside this spreadsheet.
So, using just a straight pivot table, calculated item-- I know, I know, I've said before I hate calculated items.
They screw up the data, but in this one particular case, this is the right way to go.
All right, well, hey, I want to thank you for stopping by.
We'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,214,611
Messages
6,120,513
Members
448,967
Latest member
screechyboy79

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top