+ Reply to Thread
Results 1 to 7 of 7

Find date from year and week number

  1. #1
    Registered User
    Join Date
    04-16-2011
    Location
    India
    MS-Off Ver
    Excel 365
    Posts
    10

    Post Find date from year and week number

    How to find exact date from year and week number.
    I have googled and found many formulas but none of them is working correctly.

    One of them was as below.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    A1=nth Day
    B1=Week no
    C1=Year
    E1=FORMULA/Date
    Last edited by pnperl; 07-17-2014 at 01:58 AM. Reason: File corrected

  2. #2
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Find date from year and week number

    I thing wrong file is uploaded.

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Find date from year and week number

    Did you attach the wrong file?

    Anyway - to return the first Sunday of the Week, based on year and week number, try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Adjust references myYear and myWeek to suit. Amend the final 6 to change which weekday is returned.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    04-16-2011
    Location
    India
    MS-Off Ver
    Excel 365
    Posts
    10

    Re: Find date from year and week number

    File corrected.

  5. #5
    Registered User
    Join Date
    04-16-2011
    Location
    India
    MS-Off Ver
    Excel 365
    Posts
    10

    Re: Find date from year and week number

    Quote Originally Posted by Olly View Post
    Did you attach the wrong file?

    Anyway - to return the first Sunday of the Week, based on year and week number, try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Adjust references myYear and myWeek to suit. Amend the final 6 to change which weekday is returned.
    Week starts with Monday.
    Anyway, if you check with this formula, it fails.
    Can it be modified to give nth day?

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Find date from year and week number

    Quote Originally Posted by pnperl View Post
    Week starts with Monday.
    Anyway, if you check with this formula, it fails.
    Can it be modified to give nth day?
    What do you mean, "it fails" ? It works here...

    As I said, to change which weekday is returned, change the final number. So, to return Monday of Week 12, use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Values in red are the varaiables to change for different years / weeks / days.

  7. #7
    Registered User
    Join Date
    04-16-2011
    Location
    India
    MS-Off Ver
    Excel 365
    Posts
    10

    Lightbulb Re: Find date from year and week number

    Quote Originally Posted by Olly View Post
    What do you mean, "it fails" ? It works here...

    As I said, to change which weekday is returned, change the final number. So, to return Monday of Week 12, use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Values in red are the varaiables to change for different years / weeks / days.
    Thanks for reply, but finally I have modified formula to get it worked,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Find last 12 values based on week number/year
    By pytheus in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2014, 05:14 AM
  2. [SOLVED] Determine Week Start Date From Year And Number
    By SalientAnimal in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-23-2013, 07:51 AM
  3. Convert date to week number for fiscal year starting July 25
    By ARayburn in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-15-2013, 10:07 AM
  4. Replies: 6
    Last Post: 05-08-2013, 01:46 PM
  5. [SOLVED] Calculating a Date Based on Year, Week Number and Day of the Week
    By amy in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 11:42 AM

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