Pivot table - variance of item counts year to year

ajm

Well-known Member
Joined
Feb 5, 2003
Messages
2,005
Office Version
  1. 365
Platform
  1. Windows
Folks,

My pivot counts the number of each item code invoiced. the data is spread over two financial years. In the dataset, there are only four columns: Item Code, Item Description, Invoice Date, and Financial Year. is there anyway within the pivot to calculate the variance for each item this year to last? My rows contain the Item codes and their Descriptions, and the columns are This FY and Last FY. The values are a Count of the Item Codes. Can the pivot be set up to subtract this years Count of Item Code from Last years Count of Item Codes, for each specific Item Code? The end result would be similar to having a helper column down the right hand side of the existing pivot, calculating the difference between the FY18 and FY19 columns.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
If you have a later version of Excel.....You can drop the Count field into the values section a second time and select Display As: Difference from Previous.
Experiment to get the settings correct.

Does that help?
 
Last edited:
Upvote 0
not that I have been able to figure out yet. I will keep playing with it. cheers
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,686
Members
449,048
Latest member
81jamesacct

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