+ Reply to Thread
Results 1 to 7 of 7

Always insert 1st Mon of Jan

  1. #1
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327

    Always insert 1st Mon of Jan

    I'm looking for some help on a spreadsheet (Excel 2010). I have a cell (C2) that always must be the first Monday of January of the current year. If I open this in 2014, C2 will display the first Monday of Jan in 2014. Is that possible?

    Thanx.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Always insert 1st Mon of Jan

    A bit long -wounded

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327

    Re: Always insert 1st Mon of Jan

    Hey....that'll work! Thanx man....

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Always insert 1st Mon of Jan

    I don't think that formula works if the first Monday of the year is 1st Jan - it returns 8th Jan. Try this version:

    =DATE(YEAR(TODAY()),1,8)-WEEKDAY(DATE(YEAR(TODAY()),1,6))
    Audere est facere

  5. #5
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327

    Re: Always insert 1st Mon of Jan

    Ok great, Thanx. Question, if I want to work on a future year schedule, how can I use the formula if I base it on a specific year....say 2015?

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Always insert 1st Mon of Jan

    If you have the year (e.g. 2015) in A1 you can use this formula for the first Monday of that year

    =DATE(A1,1,8)-WEEKDAY(DATE(A1,1,6))

    ....or just put the year directly in the formula

    =DATE(2015,1,8)-WEEKDAY(DATE(2015,1,6))

    incidentally - that can work for any day, for Tuesday change the 6 to a 5, for Wed use 4, for Thursday use 3 etc.

  7. #7
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327

    Re: Always insert 1st Mon of Jan

    Awesome....you're a great help, Thank you.

+ 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