Year for Broadcast Calendar

Cadams2021

New Member
Joined
Mar 16, 2023
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi, I work for a TV media buying agency and we work off of a broadcast calendar It is VERY different than a standard calendar. (see attached).

We need to find the Broadcast QTR, Month & Year for any given date very regularly.
I was able to find formals to calculate the Broadcast QTR & Broadcast Month for any given date by using the following:

QTR: ="Q"&MOD(CEILING(MONTH(A2+7-WEEKDAY(A2,2)),3),13)/3
Month =TEXT(28*(MOD(MONTH(A2+7-WEEKDAY(A2,2))-1,12)+1),"mmmm")

Is there a formula to figure out the year?
 

Attachments

  • 2023 Brodacst calander.PNG
    2023 Brodacst calander.PNG
    185.5 KB · Views: 390
  • Excel.PNG
    Excel.PNG
    15 KB · Views: 370

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I really only have an issue with the 1st week of the broadcast year, as it starts in December not January
 
Upvote 0
How do you define a year?
Do you have a 52/53 week year?

When does the current year end?
 
Upvote 0
How do you define a year?
Do you have a 52/53 week year?

When does the current year end?
some year are 52 weeks & some are 53.

2017 = 53 weeks
2018 = 52 weeks
2019 = 52 weeks
2020 = 52 weeks
2021 = 52 weeks
2022 = 52 weeks
2023 = 53 weeks
2024 = 52 weeks
 
Upvote 0
some year are 52 weeks & some are 53.

2017 = 53 weeks
2018 = 52 weeks
2019 = 52 weeks
2020 = 52 weeks
2021 = 52 weeks
2022 = 52 weeks
2023 = 53 weeks
2024 = 52 weeks
some year are 52 weeks & some are 53.

2017 = 53 weeks
2018 = 52 weeks
2019 = 52 weeks
2020 = 52 weeks
2021 = 52 weeks
2022 = 52 weeks
2023 = 53 weeks
2024 = 52 weeks
2022 = 12/2/21 - 12/25/22
2023 = 12/26/22 - 12/31/23
 
Upvote 0
2022 = 12/2/21 - 12/25/22 52 weeks
2023 = 12/26/22 - 12/31/23 53 weeks
How do you define a year?
Do you have a 52/53 week year?

When does the current year end?
sorry im new to this. I made a mistake.. 12/27/21 is the start of the year for 2022, no 12/2/22
2022 = 12/27/21 - 12/25/22 52 weeks
2023 = 12/26/22 - 12/31/23 53 weeks
 
Upvote 0
Please check the the start and end dates. The calendar starts on Dec 26, 2022.
Try either of the formulas, The first requires the lookup table.
Do you want Excel to prepare a calendar for the 52 or 53 weeks on 1 sheet?

T202303a.xlsm
ABCDEFGH
1
2StartYearWeeksEnd
35-Jan-2320232023Sun 25-Dec-22
41-Jan-2420242024Mon 26-Dec-22202353Sun 31-Dec-23
528-Dec-2220232023Mon 01-Jan-24202452Sun 29-Dec-24
6
7
2e
Cell Formulas
RangeFormula
B3:B5B3=LOOKUP(A3,$E$4:$F$5)
C3:C5C3=LOOKUP(A3,{44921,2023;45292,2024})
E4:E5E4=H3+1
H4:H5H4=H3+G4*7
 
Last edited:
Upvote 0
Please check the the start and end dates. The calendar starts on Dec 26, 2022.
Try either of the formulas, The first requires the lookup table.
Do you want Excel to prepare a calendar for the 52 or 53 weeks on 1 sheet?

T202303a.xlsm
ABCDEFGH
1
2StartYearWeeksEnd
35-Jan-2320232023Sun 25-Dec-22
41-Jan-2420242024Mon 26-Dec-22202353Sun 31-Dec-23
528-Dec-2220232023Mon 01-Jan-24202452Sun 29-Dec-24
6
7
2e
Cell Formulas
RangeFormula
B3:B5B3=LOOKUP(A3,$E$4:$F$5)
C3:C5C3=LOOKUP(A3,{44921,2023;45292,2024})
E4:E5E4=H3+1
H4:H5H4=H3+G4*7

See if the following formula works for you:
Excel Formula:
=YEAR(WORKDAY.INTL(A2-1,1,"1111110"))
It works for some years but not all of them. I think it is because some weeks have 52 weeks & some have 53 weeks in the year
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,965
Members
449,201
Latest member
Jamil ahmed

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