+ Reply to Thread
Results 1 to 2 of 2

week numbering

  1. #1
    Registered User
    Join Date
    07-12-2007
    Posts
    12

    week numbering

    Hi all.
    I'm running a spreadsheet that manages lessons in a certain course.
    I have a cell that contains the date of the first day in the course, which changes, of course, from one course to another. Note that the course can begin in any day and not necessarily on the beginning of the week.

    In the list of the lessons, each lesson has its date.
    I'm looking for a formula that would give me the week number of the lesson, from the beginning of the course (column G in the attached file).
    For example, if the course had started on Tuesday, September 18th, a lesson on Sunday, September 23rd would be on the second week of the course.

    I cannot use the function "weeknum" because it is a part of the Analysis ToolPak add-in which I cannot install.

    Thanks a lot.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try this formula in G6, copied down:


    =1+INT((E6-$B$1+WEEKDAY($B$1,3)+1)/7)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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