Quarter Start and End date for a Broadcast Calendar

pavan5

Board Regular
Joined
Jun 13, 2017
Messages
56
I work in entertainment and media field and here there is something called Broad Cast Calendar which is very different from ISO standard calendar.
Here they make changes to calendar such that every month has almost same number of weeks and every week starts with a Monday and ends on Sunday.


I am trying to find out Quarter start and end date given any date in A2 column.


In broad cast calendar the quarter starts on 1st of October, if 1st of October falls on a weekend, the prior monday is picked as a First day of the quarter


Week start is always monday and end is sunday


for example:
October 1 2016 fall on Saturday, so the quarter for 2017 starts on September 26th 2016 and ends on September 24th 2017
October 1 2017 falls on Sunday, so the quarter for 2018 starts on September 25th 2017 and ends on September 30 2018.


can we put a formula for this?
 
perfect !!! thanks mate

how do I get week number of the year and month number of the quarter ??
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
For week number of the year, try

=INT((A2-WORKDAY.INTL(DATE(YEAR(A2)+(MOD(CEILING(MONTH(A2+7-WEEKDAY(A2,2)),3),12)/3=0)-1,10,2),-1,"0111111"))/7)+1

For month number of the quarter, try

=MOD(MONTH(A2+7-WEEKDAY(A2,2))-1,3)+1
 
Upvote 0
For week number of the year, try

=INT((A2-WORKDAY.INTL(DATE(YEAR(A2)+(MOD(CEILING(MONTH(A2+7-WEEKDAY(A2,2)),3),12)/3=0)-1,10,2),-1,"0111111"))/7)+1

For month number of the quarter, try

=MOD(MONTH(A2+7-WEEKDAY(A2,2))-1,3)+1

Its giving only 3 quarters , not getting the 4th quarter
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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