+ Reply to Thread
Results 1 to 6 of 6

Altering Week Number of the Year Sequence

  1. #1
    Registered User
    Join Date
    02-09-2016
    Location
    Russell, MB
    MS-Off Ver
    2007
    Posts
    8

    Altering Week Number of the Year Sequence

    Hi,

    I'm using the formula =WEEKNUM(K4,2) to count weeks of the year based on a specific date. However, our fiscal year does not run January to December, it runs May 1 - Apr 30. How would I change the above formula to reflect this? Or do I use a different formula all together?

    TIA

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Altering Week Number of the Year Sequence

    You should modify the formula to modify the month in K4 by 4 months.

    =WEEKNUM(DAY(EOMONTH($K$4,0))+DAY(EOMONTH($K$4,1))+DAY(EOMONTH($K$4,2))+DAY(EOMONTH($K$4,3)),2)
    Last edited by mehmetcik; 11-08-2018 at 07:19 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    02-09-2016
    Location
    Russell, MB
    MS-Off Ver
    2007
    Posts
    8

    Re: Altering Week Number of the Year Sequence

    Thanks for the info mehmetcik, however, when I use that formula, the right week number does not come up.
    Example: Date is 09/19/2018, using =WEEKNUM(K4,1) the formula answer is 38. Using your formula, the answer is 19. However, by physically counting the date 09/19/2018 using May 1 as week 1 of the fiscal year, the count is actually week 21.

    Please advise. Thanks so much

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Altering Week Number of the Year Sequence

    How about
    =WEEKNUM(EDATE(K4,-4),12)

  5. #5
    Registered User
    Join Date
    02-09-2016
    Location
    Russell, MB
    MS-Off Ver
    2007
    Posts
    8

    Re: Altering Week Number of the Year Sequence

    YES! Thank you Fluff13!

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Altering Week Number of the Year Sequence

    Glad to help & thanks for the feedback

+ 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. Replies: 5
    Last Post: 04-11-2017, 09:23 AM
  2. Sequential Week Year Number
    By scruz9 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2016, 01:35 PM
  3. [SOLVED] Calculate Week Range from Week Number, Month and Year?
    By A108A108 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 05-07-2016, 03:11 PM
  4. [SOLVED] Get the date of saturday in a week from a week number / year
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2015, 06:56 PM
  5. Year and week, adding zero before week number
    By randalino in forum Excel General
    Replies: 1
    Last Post: 06-23-2009, 10:34 AM
  6. Week Number and Year
    By axc0054 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2008, 05:24 PM
  7. 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