+ Reply to Thread
Results 1 to 6 of 6

formula that generates month and week number from date

  1. #1
    Forum Contributor
    Join Date
    10-18-2012
    Location
    new york
    MS-Off Ver
    Office 365
    Posts
    177

    formula that generates month and week number from date

    Hi
    I am looking for a formula that will generate a month and week number from a date. So today's date is 02/02/13 which is January Week 5. So I just need it to say Jan 5. Is this possible? Monday would be the start of the week.
    Thank you!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: formula that generates month and week number from date

    when does week 1 start? ist day of year or the first monday in year? or the Monday of the first week of the calendar year with a Thursday?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    10-18-2012
    Location
    new york
    MS-Off Ver
    Office 365
    Posts
    177

    Re: formula that generates month and week number from date

    Apologies, the first Monday of the year.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: formula that generates month and week number from date


  5. #5
    Forum Contributor
    Join Date
    10-18-2012
    Location
    new york
    MS-Off Ver
    Office 365
    Posts
    177

    Re: formula that generates month and week number from date

    2010. I tried the formula in the link but it just generates the week number?

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: formula that generates month and week number from date

    which formula did you go with?
    if you used weeknum then try
    =TEXT(DATE(YEAR(A1),1,1)+((WEEKNUM(A1,1)*7)-7),"mmm ")&WEEKNUM(A1,1)
    Last edited by martindwilson; 02-03-2013 at 07:34 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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