You need to sign in to do that
Don't have an account?

Help Calculating Financial week in rolling years?
Hello.
I have used the following formula to work out what Financial Week a ticket was opened with our Support Desk using the following formula:
MOD(FLOOR( ( DATEVALUE( CreatedDate ) - DATE(2014,09,21)-6)/7),52)+1
Our 2014/15 Financial calendar started 2014-09-21 (Fri) which works great. However what I need it to do is reset back to 1 when we start the next Financial year 2015-09-25 and reset again 2016-09-23 and so on............
Any ideas?
I have used the following formula to work out what Financial Week a ticket was opened with our Support Desk using the following formula:
MOD(FLOOR( ( DATEVALUE( CreatedDate ) - DATE(2014,09,21)-6)/7),52)+1
Our 2014/15 Financial calendar started 2014-09-21 (Fri) which works great. However what I need it to do is reset back to 1 when we start the next Financial year 2015-09-25 and reset again 2016-09-23 and so on............
Any ideas?
Is the first financial week of the year consistent every year e.g. is it say, always week 40?
If so, then this isn't too hard... I have done the same with financial months where April (month 4) is financial period 1.
If (month > 3) {
financialPeriod = month - 3
} else {
financialPeriod = month + 9
}
Keith
Do you mind explaining how your forula works above? I am a little confused?
Thanks
Sonya