Problem with Fiscal Years and Pivot Table

asecgeek

New Member
Joined
Apr 1, 2016
Messages
18
I have an Excel workbook with a table of sales data. I've appended a column titled Fiscal Year to the table to calculate fiscal year based on a value entered in a named cell, FiscalStartMo
It works great in the table. The column in the table correctly shows the proper value. Right now the FiscalStartMo is set to 1. The years display to 2017, as expected (see figure 1 below)

[TABLE="width: 500"]
<tbody>[TR]
[TD]fig 1) Fiscal Year in table[/TD]
[TD]fig 2) Fiscal Year in Pivot Table[/TD]
[/TR]
[TR]
[TD]
2017-07-28_153112.png
[/TD]
[TD]
2017-07-28_154834.png
[/TD]
[/TR]
</tbody>[/TABLE]

Here's the problem: when I add the column to a pivot table, the available years go to 2018 (see fig 2 above), and data appear in Nov and Dec. How can this be? How do I fix this?

FYI, here is the formula used to calculate Fiscal Year (based on the Order Date in C2) =YEAR(DATE(YEAR(C2),MONTH(C2)+(FiscalStartMo)-1,1))
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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