+ Reply to Thread
Results 1 to 7 of 7

Convert date to week number for fiscal year starting July 25

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    Fort Lauderdale, Florida
    MS-Off Ver
    Excel 2011
    Posts
    46

    Convert date to week number for fiscal year starting July 25

    I need to convert dates to week numbers for a spreadsheet where week number 1 starts monday July 25, 2012. Any help would be greatly appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Convert date to week number for fiscal year starting July 25

    =WEEKNUM(I8-206)

    206 is the offset in days to your financial year, I have only quickly tested it,

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Convert date to week number for fiscal year starting July 25

    If it's only for dates within that fiscal year try this formula for week number (assuming a date in A1)

    =INT((A1-DATE(2012,7,25))/7)+1

    format as number

    If you want a formula that will work for any year then do you have a rule for when the year starts, e.g. last Monday in July?
    Audere est facere

  4. #4
    Registered User
    Join Date
    05-13-2013
    Location
    Fort Lauderdale, Florida
    MS-Off Ver
    Excel 2011
    Posts
    46

    Re: Convert date to week number for fiscal year starting July 25

    Thank you everyone it worked!

  5. #5
    Registered User
    Join Date
    05-13-2013
    Location
    Fort Lauderdale, Florida
    MS-Off Ver
    Excel 2011
    Posts
    46

    Re: Convert date to week number for fiscal year starting July 25

    I actually had to do WEEKNUM(I8-176) for it to work for 2012-2013 fiscal year starting 07/25/2012. I have another issue. I am trying to do the same for 2013-2014 fiscal year starting 07/01/2013 ending 06/29/2014. I am having an issue when i do WEEKNUM(A1-181) I am only getting 5 days in week 1. Why is it doing this? I have tried playing around with the numbers and can not get 07/01/2013-07/07/2013 to show week 1.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Convert date to week number for fiscal year starting July 25

    That's the way WEEKNUM works - week 1 always starts on 1st Jan and then week 2 starts on the next Sunday, so sometimes week 1 has only 1 day! It only works co-incidentally for 2012 because that year started with a Sunday. The version I suggested should work for you if you change the start date within the formula.

    It seems strange that 2013 starts on 1st July when 2012 started on 25th? Is 25th right, it's not a Monday?

  7. #7
    Registered User
    Join Date
    05-13-2013
    Location
    Fort Lauderdale, Florida
    MS-Off Ver
    Excel 2011
    Posts
    46

    Re: Convert date to week number for fiscal year starting July 25

    Yes, it is right, it is the chosen fiscal year for an organization. Thank you for your help I will give it a try.

+ 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