Excel Pivot Tables have heaps of calculations under the SHOW VALUES AS option and one that gets the most use is the DIFFERENCE FROM calculation.

You can show the values as the Difference From previous months, years, day etc.  This is just great when your boss asks you how you are tracking to the previous months, years, days…

In the example below I show you how to show the Difference From the previous YEAR:

DOWNLOAD EXCEL WORKBOOK

STEP 1: Insert a Pivot able by clicking on your data and going to Insert > Pivot Table > New Worksheet or Existing Worksheet

pivot

 

STEP 2: In the ROWS you have to put the Months field, in the COLUMNS the Years field and in the VALUES area the Sales field twice, I explain why below:

pivottable fields

 

STEP 3: Now click on the second Sales field’s (Sum of SALES2) drop down and choose Value Field Settings

value field settings

 

STEP 4: Now you need to select the Show Values As tab and from the drop down choose the Difference From

difference from

 

STEP 5: You need to select the Base Item: (previous) and Base Field: Financial Year and press OK.  So it will read the “Difference from the previous Financial Year

 

show values as

 

STEP 6: To format the values you need to select the Pivot Table and go to Pivot Table Tools > Analyze/Options > Select > Entire Pivot Table

select entire pivot table

Then you need to once again go to Pivot Table Tools > Analyze/Options > Select but this time select the Values

select values

Now press CTRL+1 to bring up the Format Cells dialogue box and make your formatting changes within here and press OK.  

NB: This will fix the number format permanently and any new field that get added into the Pivot Table will have this format.  Coll hey!

format cells

 

STEP 7: To change the Sum of SALES2 name within the Pivot Table, you need to click on a cell in the Pivot Table which contains Sum of SALES2 and manually make the change and press Enter

name change

 

STEP 8: You need to select the whole column that contains the empty values and Right Click and select Hide

hide column

 

You now have your Pivot Table, all formatted and showing the Difference from the previous Year:

pivot table

Difference From Previous Year

HELPFUL RESOURCE:

728x90

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Turn Text Dates To Excel Dates With Text To Column... Whenever you import data from your company's server, ERP system or any other source for that matter, the Dates usually come in a TEXT format.I will show you a cool trick where you can turn the TEXT Date to a values Date that Excel can read and work with.DOWNLOAD EXCEL WOR...
Distinct or Unique Count with Excel Pivot Tables Excel 2013 added some new features to its arsenal and one that has been well overdue was the distinct or unique count.Previously when we created a Pivot Table and dropped a Customers field in the Row Labels and then again in the Values area we got the "total number of transac...
Group Sales with a Pivot Table A Pivot Table allows you to Group your transactional sales values by any range that you want.  You can then summarize each sales group and see the total sales and the number of transactions that they have produced.  This is useful for pricing analysis.DOWNLOAD WORKBOOK...
Excel Filter by Selection When you have an array of data in Excel you can quickly select an item and press the AutoFilter button which will filter that selection in your data.You can then go over to another column within your data and select another item, apply the same steps above and further filter ...