+ Reply to Thread
Results 1 to 8 of 8

Weeknum Formula Problem

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-21-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    449

    Weeknum Formula Problem

    Hello All

    Our week starts on Monday and ends on Sunday. I use the weeknum formula and add "-1" to make sure the week number reflects the start on a Monday.

    However, Week 53 of the year jacks everything up! I need my work week to start on Monday and end on Sunday AND I need for Jan 1st 2016 to be Week #1 and NOT Week #53.

    See attached. Book2.xlsx

    Column B accurately reflects my formula for making sure that it knows my week starts on Monday. However, I don't know what to do in order to get the 3rd row lined out to reflect January 1 as Week # 1.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Weeknum Formula Problem

    Try this

    Formula: copy to clipboard
    =WEEKNUM(C2,2)


    It should return 1 when in B3
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Weeknum Formula Problem

    A workaround..

    =MIN(WEEKNUM(C2-1),WEEKNUM(C2))

    or simply

    =WEEKNUM(C2,2)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

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

    Re: Weeknum Formula Problem

    How about

    =WEEKNUM(C2,2)

    ??
    Quang PT

  5. #5
    Forum Contributor
    Join Date
    09-21-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    449

    Re: Weeknum Formula Problem

    All,

    I tremendously apologize. I am wrong.

    See this picture:

    Microsoft Outlook.png

    We use the week number per MS Outlook. So I am wrong. I actually need Wk 53 to encompass the full week.

    See attached Book2.xlsx

    The orange column is what Excel is currently returning. The red column is what I need.

    I am adding reputation to all of you now. SORRY!!
    Last edited by morerockin; 02-06-2016 at 02:10 PM.

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

    Re: Weeknum Formula Problem

    How about

    =WEEKNUM(C2,21)

  7. #7
    Forum Contributor
    Join Date
    09-21-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    449

    Re: Weeknum Formula Problem

    Quote Originally Posted by bebo021999 View Post
    How about

    =WEEKNUM(C2,21)
    SOLVED!!!!

    What does the ,21 part do?

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

+ 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. Custom weeknum formula - Beginning 4th Jan :-(
    By Dan27 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2016, 07:22 AM
  2. Replies: 4
    Last Post: 11-25-2015, 06:44 PM
  3. [SOLVED] Weeknum - formula
    By chief_abound in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2015, 09:49 PM
  4. Weeknum formula not working
    By Rob K in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2015, 10:17 AM
  5. Weeknum - Formula
    By Meelkoppie in forum Excel General
    Replies: 1
    Last Post: 11-26-2014, 06:05 PM
  6. [SOLVED] weeknum problem
    By masond3 in forum Excel General
    Replies: 4
    Last Post: 05-30-2012, 02:10 PM
  7. Excel Formula WEEKNUM only works on weekdays 1 and 2, why?
    By Geocyclist in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-09-2005, 10:06 PM

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