+ Reply to Thread
Results 1 to 5 of 5

Formula to get Monday/Friday of x weeks ago

  1. #1
    Forum Contributor
    Join Date
    03-06-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    352

    Question Formula to get Monday/Friday of x weeks ago

    Hi,

    Can anyone help me with how to build the forumla or VBA to get a certain day of the week that past say three weeks ago? I need to be able to edit it to get the different days and weeks.

    Thanks for your time.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to get Monday/Friday of x weeks ago

    You mean something like this?

    http://www.wikihow.com/Calculate-the...-Week-in-Excel
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Formula to get Monday/Friday of x weeks ago

    hi there. different interpretation. say A1 contains the formula
    =TODAY()
    then:
    =A1-WEEKDAY(A1,2)-3*7+1
    the red one is where you put your weeks & the blue one is the day of the week (1 is Mon, 5 is Fri)

    you can also replace all A1 with TODAY(), and also change the coloured ones to a cell reference to input

    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

  4. #4
    Forum Contributor
    Join Date
    03-06-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    352

    Re: Formula to get Monday/Friday of x weeks ago

    Cheers for the quick reply, although I'm just wanting to get the date of Monday/Friday say three weeks ago...
    ...i think this forumula gives me Friday two weeks ago: =(TODAY()-WEEKDAY(TODAY()+2,2))-7 - but im wanting to be able to edit this so I can do whatever days or weeks ago I want

    Get me or not?

  5. #5
    Forum Contributor
    Join Date
    03-06-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    352

    Re: Formula to get Monday/Friday of x weeks ago

    Thanks very much mate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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