+ Reply to Thread
Results 1 to 3 of 3

Build rotating schedule and skip last Sunday of every month

  1. #1
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Build rotating schedule and skip last Sunday of every month

    I posted a thread some time back asking to skip the first Wed of every month. Now I'm looking to skip the last Sunday of every month.

    The offered solution was =IF(L2=1,"Singing",IF(L2="","",INDEX(SongLeadersWed,IF(MOD(COUNTIF(L$1:$L1,">1"),'DV List'!$J$1)=0,1,MOD(COUNTIF(L$1:$L1,">1"),'DV List'!$J$1)+1))))

    I would like to apply the formula to column G.

    In months, Mar, Jun, Sep, and Dec there are five Sunday's, so the "Singing" would be on the fifth Sunday versus the fourth. The order in column G should come from the list in K4:K11.

    Any thoughts?
    Attached Files Attached Files
    HTH
    Regards, Jeff

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Build rotating schedule and skip last Sunday of every month

    Please try at G2 and drag down

    =IF(A2=INT((EOMONTH(A2,0)-1)/7)*7+1,"Singing",INDEX($K$4:$K$11,MOD(ROWS(G$2:G2)-1-COUNTIF(G$1:G1,"Singing"),8)+1))

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Build rotating schedule and skip last Sunday of every month

    Thank you Bo. This works great.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Building a rotating schedule, but skipping the first Wed of every month
    By jeffreybrown in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2018, 01:58 PM
  2. [SOLVED] Rotating Schedule advice
    By gtaaccord in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-08-2018, 03:52 AM
  3. Rotating schedule
    By danmac444 in forum Excel General
    Replies: 1
    Last Post: 04-10-2017, 03:53 PM
  4. Replies: 0
    Last Post: 06-21-2015, 09:40 PM
  5. Rotating Schedule
    By melbessetti in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-21-2015, 02:22 PM
  6. [SOLVED] Rotating work schedule
    By Luigi802 in forum Excel General
    Replies: 2
    Last Post: 02-06-2015, 11:14 AM
  7. Rotating Shift schedule for 1 month
    By varun sarolkar in forum Excel General
    Replies: 0
    Last Post: 12-02-2013, 03:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1