+ Reply to Thread
Results 1 to 3 of 3

Week # Date function

  1. #1
    Registered User
    Join Date
    09-27-2007
    Posts
    61

    Week # Date function

    Good day,

    If I have the following data:

    a) WeekNum
    b) Year

    Can I calculate the Beginning Date of any Week?

    For example, can I find out the start date for Week #5 with these two sets of data?

    Thanks,
    E

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702
    Hello Erick,

    Yes you can but it depends how you're defining your week numbers, there are several ways. If you are using the same definition as Excel's weeknum function where week 1 always starts on 1st Jan and week 2 on the next Sunday then with year in A1 and weeknum in B1 try

    =DATE(A1,1,9)-MIN(8,WEEKDAY(DATE(A1,1,8))-(B1-2)*7)

    If your week numbers are defined differently then how is that, when does week 1 start and is that on a Sunday or Monday?

  3. #3
    Registered User
    Join Date
    09-27-2007
    Posts
    61
    LOL, Daddylonglegs - you're a monster.

    How in the world?.. Did you just flip open your formula book? Well, never mind - it worked perfectly.

    Thanks again,
    EG

+ 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