+ Reply to Thread
Results 1 to 7 of 7

Date Formula

  1. #1
    Registered User
    Join Date
    07-22-2015
    Location
    Detroit, MI
    MS-Off Ver
    2010
    Posts
    10

    Date Formula

    Hello,

    I am looking for a formula where I can find all the 2nd Mondays of a given year for a generator schedule. Your help is appreciated.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Date Formula

    Do you mean the 2nd Monday of each month?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Date Formula

    Or do you mean 1/2 mondays? Like Monday # {2,4,6,8...}

    You can find first monday of a year with this:
    =DATE(2015,1,8)-WEEKDAY(DATE(2015,1,6))
    If that's the case I described, then you could find the second by doing +7, then the others by doing +14.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Date Formula

    If you enter the year in A1 enter this in A2 to get the 2nd Monday of the year.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    For every 2nd Monday after that, enter this in A3 and fill down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you want every 2nd Monday from a given date entered in A1
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by newdoverman; 08-10-2015 at 05:07 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    07-22-2015
    Location
    Detroit, MI
    MS-Off Ver
    2010
    Posts
    10

    Re: Date Formula

    Every 2nd Monday of the Month for the whole given year

  6. #6
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Date Formula

    Assuming you have a starting date (such as TODAY()) in D1, and that you have 2 columns:

    Column A has the values 0,1,2,3,4,5,6... (A1 = 0, A2 = 1, A3= 2, etc) for as long as you need
    In column B, use this formula: (put it in B1 and drag it down)

    =DATE(YEAR($D$1),MONTH($D$1)+A1,1)+CHOOSE(WEEKDAY(DATE(YEAR($D$1),MONTH($D$1)+A1,1)),1,0,6,5,4,3,2)+7

  7. #7
    Registered User
    Join Date
    07-22-2015
    Location
    Detroit, MI
    MS-Off Ver
    2010
    Posts
    10
    Quote Originally Posted by Jdevil View Post
    Assuming you have a starting date (such as TODAY()) in D1, and that you have 2 columns:

    Column A has the values 0,1,2,3,4,5,6... (A1 = 0, A2 = 1, A3= 2, etc) for as long as you need
    In column B, use this formula: (put it in B1 and drag it down)

    =DATE(YEAR($D$1),MONTH($D$1)+A1,1)+CHOOSE(WEEKDAY(DATE(YEAR($D$1),MONTH($D$1)+A1,1)),1,0,6,5,4,3,2)+7
    Thank you. Works fine

+ 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] Formula for converting a date to quarter and leaving blank cell for no date values
    By jayc2111 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-10-2019, 12:57 AM
  2. [SOLVED] Need FORMULA for Date subtract Date equal bussiness hour (don't count weekend)
    By tuongtu3 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-24-2015, 03:29 AM
  3. [SOLVED] Formula to compare date (including month and year) from a listed date to today's date
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 05:31 PM
  4. Replies: 2
    Last Post: 11-03-2014, 10:29 AM
  5. [SOLVED] Help in writing formula in excel to produce dates based on start date and end date
    By shoot for moon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2014, 01:00 PM
  6. [SOLVED] Formula assistance needed to sum data based on anniversary date and month date
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2012, 11:18 PM
  7. Replies: 1
    Last Post: 04-18-2012, 05:49 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