Build rotating schedule for 4th and 5th Sunday

FryGirl

Well-known Member
Joined
Nov 11, 2008
Messages
1,364
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
In the attached table, I would like to fill in the 4th and 5th Sunday with the rotating schedule in F2:F8. If it's one of the first three Sunday's, in should say "Off Topic" in column D. Column D has the example as it should be.

Schedule.xlsx
ABCDEF
1MonthCountDayHdr1Schedule
2512-May-21Off TopicSchedule A
3529-May-21Off TopicSchedule B
45316-May-21Off TopicSchedule C
55423-May-21Schedule ASchedule D
65530-May-21Schedule BSchedule E
7616-Jun-21Off TopicSchedule F
86213-Jun-21Off TopicSchedule G
96320-Jun-21Off Topic
106427-Jun-21Schedule C
11714-Jul-21Off Topic
127211-Jul-21Off Topic
137318-Jul-21Off Topic
147425-Jul-21Schedule D
15811-Aug-21Off Topic
16828-Aug-21Off Topic
178315-Aug-21Off Topic
188422-Aug-21Schedule E
198529-Aug-21Schedule F
20915-Sep-21Off Topic
219212-Sep-21Off Topic
229319-Sep-21Off Topic
239426-Sep-21Schedule G
241013-Oct-21Off Topic
2510210-Oct-21Off Topic
2610317-Oct-21Off Topic
2710424-Oct-21Schedule A
2810531-Oct-21Schedule B
291117-Nov-21Off Topic
3011214-Nov-21Off Topic
3111321-Nov-21Off Topic
3211428-Nov-21Schedule C
331215-Dec-21Off Topic
3412212-Dec-21Off Topic
3512319-Dec-21Off Topic
3612426-Dec-21Schedule D
Sheet2 (2)
Cell Formulas
RangeFormula
A2:A36A2=MONTH(C2)
B2:B36B2=IF(N(A2),COUNTIF(A$2:$A2,A2),"")
C3:C36C3=C2+7
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
How about
Excel Formula:
=IF(B2>3,INDEX($F$2:$F$8,MOD(COUNTIFS(B$2:B2,">3")-1,7)+1),"Off Topic")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,868
Messages
6,122,005
Members
449,059
Latest member
mtsheetz

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