+ Reply to Thread
Results 1 to 4 of 4

Needing formula for date 4 weeks ago on monday

  1. #1
    Registered User
    Join Date
    11-14-2013
    Location
    Fort Eustis
    MS-Off Ver
    Excel 2010
    Posts
    3

    Needing formula for date 4 weeks ago on monday

    Hello,

    I'm a AIT Instructor and i need a formula for specific date to be 4 weeks in the past and land on a Monday. so if it is 27 Nov 13 the value date needs to be 28 Oct 13. The students have to take a test 4 weeks before graduation and it has to be on a Monday.

    Thanks

    V/R
    SGT Roy, Adam

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Needing formula for date 4 weeks ago on monday

    welcome to the forum, Adam. try:
    =A1-7*4-WEEKDAY(A1-7*4,2)+1

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-14-2013
    Location
    Fort Eustis
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Needing formula for date 4 weeks ago on monday

    Thank you
    can you please explain each value so i can understand and let my battle buddies know also.

    V/R
    SGT Roy

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Needing formula for date 4 weeks ago on monday

    glad to help.
    7*4
    gives is 7 days * 4 weeks

    so A1-7*4 gives you the date 4 weeks ago.

    WEEKDAY(A1-7*4,2)
    the WEEKDAY formula returns the day number of any given date. the first argument, as like any formulas, is mandatory. it's the date. and in here, we'll input the A1-7*4. the 2nd argument is optional, and if unfilled, is default as 1. that returns 1 if the date is a Sunday, all the way to 7 if it's a Sat. i used 2. and that returns 1 if the date is a Monday, all the way to 7 if it's a Sun.

    so with that, WEEKDAY of the 30 Oct 13 is 3, a Wed. 30 Oct 13 minus 3 is a Sunday. Sunday + 1 is a Monday. so you'll always get a Monday. hope that helps

+ 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. Formula to get Monday/Friday of x weeks ago
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2013, 02:34 AM
  2. [SOLVED] calculating number of weeks in a month ( jan -Dec 13) starting every monday+display
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2013, 10:01 AM
  3. [SOLVED] Find monday preceeding given-date unless date is a monday
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-10-2012, 07:42 AM
  4. Number of Monday - Friday weeks
    By charl in forum Excel General
    Replies: 2
    Last Post: 01-31-2008, 08:59 AM
  5. This weeks Monday
    By DKY in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-30-2005, 09:05 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