Excel Pivot Table Difference From Previous - Spanning a Fiscal Year

petrosk

New Member
Joined
Oct 11, 2012
Messages
1
I am trying to view the difference in Sales from one period to the next in an Excel PivotTable. Transaction dates are grouped by Years/Quarters. Years and Quarters are Row Labels in the PivotTable. The PivotTable Values are the Sum of Sales. Values are shown as the Difference From, with the Base Field as Quarters and the Base Item as (previous). This works fine when the data is limited to a single fiscal year, but I experience a problem when the data spans a fiscal year (example: from Q4'2011 to Q1'2012). In this example, when spanning a fiscal year, the PivotTable does not calculate the difference Q1'2012 from Q4'2011. Please reference below for an illustration. I know this could be solved by adding a function similar to the following to the dataset =YEAR(A1)&"-Q"&INT(MONTH(A1)/4+1. However, I would like to avoid such an approach, if possible. If anyone has a solution to this problem, I would be greatly appreciative.

Row LabelsSales
2011
Qtr1
Qtr2-15,592.16
Qtr31,151.75
Qtr4156,429.46
2012
Qtr1
Qtr261,999.37
Qtr3-41,808.15
Qtr4-105,343.56

<COLGROUP><COL style="WIDTH: 69pt; mso-width-source: userset; mso-width-alt: 3364" width=92><COL style="WIDTH: 57pt; mso-width-source: userset; mso-width-alt: 2779" width=76><TBODY>
</TBODY>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,216,058
Messages
6,128,538
Members
449,456
Latest member
SammMcCandless

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