+ Reply to Thread
Results 1 to 3 of 3

Column headder by week, month and must be a Monday most the time..

  1. #1
    Registered User
    Join Date
    02-22-2018
    Location
    Vancover Canada
    MS-Off Ver
    2012
    Posts
    2

    Column headder by week, month and must be a Monday most the time..

    Hello,

    I am trying to create a header row that incremented by week for the month, whenever possible a Monday. When a new month starts and it is not a Monday I want to have it there but the following row will be the next Monday. I hope that makes sense.
    It would look like this”

    9-Oct-17 16-Oct-17 23-Oct-17 30-Oct-17 1-Nov-17 6-Nov-17 13-Nov-17 20-Nov-17 27-Nov-17 1-Dec-17 4-Dec-17


    So far I have this, which is anything but elegant:
    Please Login or Register  to view this content.
    *assumes that A2 has the start date

    This gives me the week by month but does not “reset” to the Monday after the first of a month:

    9-Oct-17 16-Oct-17 23-Oct-17 30-Oct-17 1-Nov-17 8-Nov-17 15-Nov-17 22-Nov-17 29-Nov-17 1-Dec-17 8-Dec-17

    Can someone please help me solve this?

    Thanks!

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,901

    Re: Column headder by week, month and must be a Monday most the time..

    Try this ...

    =IF(MONTH(WORKDAY.INTL(A2,1,"0111111"))=MONTH(A2),WORKDAY.INTL(A2,1,"0111111"),EOMONTH(A2,0)+1)

  3. #3
    Registered User
    Join Date
    02-22-2018
    Location
    Vancover Canada
    MS-Off Ver
    2012
    Posts
    2

    Re: Column headder by week, month and must be a Monday most the time..

    You have no idea how long I have worked on that.

    This is perfect. Thanks!

+ 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. Week number in month determined by 3/4 weekdays in week within said month
    By atearth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2017, 02:36 PM
  2. This time last week, last month, last year.
    By sungen99 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-08-2015, 02:13 PM
  3. week beginning on a monday depending on month inputted
    By mfairhurst1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-01-2013, 07:11 PM
  4. Replies: 1
    Last Post: 07-10-2013, 01:41 PM
  5. [SOLVED] Need a formula that picks up the date for Monday for each week from a given month and year
    By davisfs2007 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2013, 02:21 PM
  6. Re: First day of week-Monday.
    By Jimmy Joseph in forum Excel General
    Replies: 2
    Last Post: 05-20-2006, 05:35 AM
  7. Replies: 1
    Last Post: 04-13-2005, 06:35 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