Consulting

Results 1 to 7 of 7

Thread: First date in week from <WeekNo, Year>

  1. #1

    First date in week from <WeekNo, Year>

    Does anybody know how to calculate the first day in a given week number for a given year?

    Thanks
    BBM

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    What week number type, ISO or MS?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Quote Originally Posted by xld
    What week number type, ISO or MS?
    Ah didnt realise there was a difference.
    Better stick with ISO

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    It depends upon how the week number is calculated as to which you should stick to.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    Ok ... how would I do this if it were ISO?

  6. #6
    VBAX Regular
    Joined
    Aug 2008
    Posts
    18
    Location
    Formula solution.....

    with year in A2 and ISO week number in B2 this formula gives the date of the first day (Monday) of that week

    =DATE(A2,1,B2*7-2)-WEEKDAY(DATE(A2,1,3))

  7. #7
    Thanks Mikey Just what I was looking for

    :o)
    BBM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •