+ Reply to Thread
Results 1 to 4 of 4

Rotating weekly dates - if date is passed then go to next weeks date

  1. #1
    Registered User
    Join Date
    08-26-2018
    Location
    Narromine, Australia
    MS-Off Ver
    Office 365
    Posts
    47

    Rotating weekly dates - if date is passed then go to next weeks date

    I am not sure how well I can explain this so I have added the spreadsheet and highlighted what needs to change and what it needs to be changed to.

    Basically I have a weekday list from Sunday to Saturday that needs to rotate the dates around once they have passed. The days of the week do not rotate only the dates.

    Hopefully it makes sense once you see the spreadsheet because I have no idea how to explain it well
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,822

    Re: Rotating weekly dates - if date is passed then go to next weeks date

    See attached file. The formula for Sunday (A7) is:

    =IF(WEEKDAY($N$1)=1,$N$1,A19+1)

    For Monday (A9):

    =IF(WEEKDAY($N$1)=2,$N$1,A7+1)

    This can be copied into the other cells, changing the 2 in red each time (i.e. Tuesday = 3, Wednesday = 4, and so on).

    The yellow conditional formatting is obtained using a rule of Cell value > $N$1

    Hope this helps.

    Pete
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-26-2018
    Location
    Narromine, Australia
    MS-Off Ver
    Office 365
    Posts
    47

    Re: Rotating weekly dates - if date is passed then go to next weeks date

    Thanks for your help.

    This worked just fine.

    Had to do some creative conditional formatting to get it to do what I wanted but I finally got there

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,822

    Re: Rotating weekly dates - if date is passed then go to next weeks date

    Glad it worked for you - thanks for the rep.

    Pete

+ 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] Match nearest weekly date to monthly series, leaving other weeks blank
    By rw2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2016, 05:57 AM
  2. how do you display the current date as weeks and days detween 2 dates
    By john dalton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-16-2013, 01:36 PM
  3. Replies: 0
    Last Post: 05-18-2013, 03:29 AM
  4. [SOLVED] Grouping Daily dates into a weekly date
    By hnasir in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2012, 07:54 PM
  5. Replies: 5
    Last Post: 06-21-2011, 09:10 AM
  6. Replies: 1
    Last Post: 03-22-2010, 04:09 PM
  7. Replies: 7
    Last Post: 11-16-2008, 05:48 PM

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