Results 1 to 3 of 3

Thread: Week number?

  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Week number?

    How can I extract the year week number from a date?
    For instance : 03/23/01 should return 12

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Week number?

    If the date is in A1:

    <pre>=Year(A1)
    =Weeknum(A1,1) ' if week begins on Sunday
    =Weeknum(A1,2) ' if week begins on Monday
    </pre>


    The Weeknum function is in the analysis toolpack. If you don't have that installed, run setup to install it.
    Legare Coleman

  3. #3
    2 Star Lounger
    Join Date
    Dec 2000
    Posts
    140
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Week number?

    There are different definitions, details see
    <A target="_blank" HREF=http://www.cpearson.com/excel/weeknum.htm>http://www.cpearson.com/excel/weeknum.htm</A>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •