Hi All
I am trying to calculate given a varying starting day, the fall of every quarter or half year.
e.g. 1
month= 1 (Jan)
Type = quarter
Next quarter = 4 (april)
Similarly
e.g. 2
Date = 1 Feb
Type = quarter
Next quarter = 5( may)
or
Similarly
Date = 1 Feb
Type = semi annual
Next quarter = 7 (july)
Basically i need a formula given starting month to determine if the cell given falls on quarter on semi annual anniversary
such that over a calender year i would get the following for example 2.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Month[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]9[/TD]
[TD]10[/TD]
[TD]11[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Flag[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
and similarly for EG 3. would return a 1 for month of Feb and July
My inputs are Month begin and quarterly/semi annual input as (3,6)
I am trying to calculate given a varying starting day, the fall of every quarter or half year.
e.g. 1
month= 1 (Jan)
Type = quarter
Next quarter = 4 (april)
Similarly
e.g. 2
Date = 1 Feb
Type = quarter
Next quarter = 5( may)
or
Similarly
Date = 1 Feb
Type = semi annual
Next quarter = 7 (july)
Basically i need a formula given starting month to determine if the cell given falls on quarter on semi annual anniversary
such that over a calender year i would get the following for example 2.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Month[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]9[/TD]
[TD]10[/TD]
[TD]11[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Flag[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
and similarly for EG 3. would return a 1 for month of Feb and July
My inputs are Month begin and quarterly/semi annual input as (3,6)