+ Reply to Thread
Results 1 to 7 of 7

Get Date from Week Number and Year ( Fiscal Calendar)

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Get Date from Week Number and Year ( Fiscal Calendar)

    Hi,

    I'm having a data only pull week number and year. We are using Fiscal calendar starting in July. For example, A1 = Week number and A2= Year. Does anyone know how to set up a formula to retrieve a date for this? If A1 = 2 , A2 = 2013, the date will be 07/14/2012. I want the date pull of on Saturday every week.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Get Date from Week Number and Year ( Fiscal Calendar)

    Try this:
    =DATE(A2,7,1)-2+WEEKDAY(DATE(A2,7,1))+A1*7
    In which: DATE(A2,7,1)-2+WEEKDAY(DATE(A2,7,1)) returns the last saturday before (30/6/2012), multiply number of weeks to show the expected saturday of the given weeks and years
    Quang PT

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,864

    Re: Get Date from Week Number and Year ( Fiscal Calendar)

    Build a table with week numbers and the Saturday date. Then use Vlookup. Example attached.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Get Date from Week Number and Year ( Fiscal Calendar)

    Hi bebo021999,

    I don't think your formula works for fiscal calendar year which beggining of the year in July. It works for year end calendar start in January.

  5. #5
    Registered User
    Join Date
    05-08-2013
    Location
    Eastleigh, England
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Get Date from Week Number and Year ( Fiscal Calendar)

    Hi there, wondering if someone can help, but I would like to align week numbers to individual days of a week, so assuming that the year starts on Monday 25/03/13, this being week 1, I would need all days for this week showing as week 1 and then on Monday 01/04/13 showing as week 2, repeated for the whole year? Iv been trying various formats of formula but with no joy.

    Any ideas?

    Thanks

    Martin

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Get Date from Week Number and Year ( Fiscal Calendar)

    Martin,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  7. #7
    Registered User
    Join Date
    05-08-2013
    Location
    Eastleigh, England
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Get Date from Week Number and Year ( Fiscal Calendar)

    Apologies - as it was so closely related I was trying to avoid unnecessary threads

+ 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