ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I set a year to commence on date other than January 1 (https://www.excelbanter.com/excel-discussion-misc-queries/232199-how-do-i-set-year-commence-date-other-than-january-1-a.html)

MPCB

how do I set a year to commence on date other than January 1
 
I wnat to compare data between year 1 and year 2 etc. in Excel, and I also
need that the year is Oct to Sept. Is there a formula that will conver a date
into a Year (or period of 12 months) and identify it as year 1 or year 2 etc.

Dave Peterson

how do I set a year to commence on date other than January 1
 
I use this formula to show the fiscal year and quarter:

="FY"&YEAR(A1)-(MONTH(A1)<#)&"-Q"&INT(1+MOD(MONTH(A1)-#,12)/3)

So if the fiscal year starts on Oct 1st, then I'd use:
="FY"&YEAR(A1)-(MONTH(A1)<10)&"-Q"&INT(1+MOD(MONTH(A1)-10,12)/3)

It results in an expression like:
FY2009-Q1

If you don't care about the quarter, you an drop that stuff:
="FY"&YEAR(A1)-(MONTH(A1)<10)




MPCB wrote:

I wnat to compare data between year 1 and year 2 etc. in Excel, and I also
need that the year is Oct to Sept. Is there a formula that will conver a date
into a Year (or period of 12 months) and identify it as year 1 or year 2 etc.


--

Dave Peterson


All times are GMT +1. The time now is 11:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com