+ Reply to Thread
Results 1 to 5 of 5

getting the current week number formula

  1. #1
    Registered User
    Join Date
    09-19-2011
    Location
    Birmingham
    MS-Off Ver
    Excel 2003 - 07
    Posts
    69

    getting the current week number formula

    hey guys a easy one for you guys
    i need to get the week number to populate a cell when i open the file so if it for example today (20 october) would be week 42
    there is a formular for it but u have to manually put in the day of the year if theres a way to get the day auto then perfect either will work
    Many thanks
    Last edited by Kezwick; 10-20-2011 at 07:43 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: getting the current week number formula

    try =weeknum(today(),2)

  3. #3
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: getting the current week number formula

    try this (short one)
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702

    Re: getting the current week number formula

    Tom's formula is giving you the "ISO week number" - which makes today in week 42. Even shorter formula for that

    =INT((A1-WEEKDAY(A1,2)-DATE(YEAR(A1+4-WEEKDAY(A1,2)),1,4))/7)+2
    Audere est facere

  5. #5
    Registered User
    Join Date
    09-19-2011
    Location
    Birmingham
    MS-Off Ver
    Excel 2003 - 07
    Posts
    69

    Re: getting the current week number formula

    perfect guys all worked thanks again

+ 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