I've good experience with Excel Forum and have learned much, and thus I'm putting my question up here again.
This time, my problem is that my company has a fiscal year ending different than the calendar month. In 2010, we have Fiscal Year that starts Nov 28, 2009 and ends on Dec 3, 2010. This year, 2011, we have Fiscal Year that starts on Dec 4, 2010 and ends on Dec 2, 2011.
I know it sounds confusing, but I've attached a file and you see it clearly that on the sheet 'FY 2010', you can see that Nov 28, 2009 (top left) is the beginning of the year, and Dec 3, 2010 (bottom right) is the end of the year. The same with 'FY 2011'
Also notice that, in the 'FY 2010' or 'FY 2011', it tells you which are the quarters.
e.g1. Second quarter of 2010 are from March 6, 2010 to June 4, 2010.
e.g2. Second quarter of 2011 are from March 5, 2011 to June 3, 2011.
Now this brought to my difficulties. How should I do in Excel or in VBA macro/code in order for me to assign it to the correct quarters. Even better, if you could put the year in for sorting purposes.
For example, if the date is April 29, 2011, it should be Q2 (or FY11-Q2). Date shows Sept 2, 2011, it should be Q3 (or FY11-Q3).
More example is on the attached file on 'Sheet1'
Thank you for the people out there to help me with this problem.
Bookmarks