Fiscal calendar on pivot table group date

ypurcaro

New Member
Joined
Mar 7, 2013
Messages
29
Hello All,

Happy Monday. I'm hoping someone can help me with this issue here. I've attached two images so you understand what I mean. Basically, our first week of the year in 2019 started in in 2018. That's how I group the week (7 days starting 12/31/2018). Then, when I group them as quarter, that was the problem. See, the first day of the week became 4th quarter. Is there anyway to fix this. I don't think the weeknum function works. Someone told me to use this formula to force the 2018 as 2019.
Formula:
=IF(A1>=DATEVALUE("12/31/2018"),2019,IF(A1>=DATEVALUE("12/31/2019"),2020))

Well, I got the year, but I also need the month so I can group it in quarter. Don't you think?

Thank you!
 

Attachments

  • 20200828_084901(1).jpg
    20200828_084901(1).jpg
    134.8 KB · Views: 10
  • 20200831(1).jpg
    20200831(1).jpg
    121 KB · Views: 9

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,215,446
Messages
6,124,897
Members
449,194
Latest member
JayEggleton

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