+ Reply to Thread
Results 1 to 6 of 6

Determine the week of a sports season from a list of dates

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Determine the week of a sports season from a list of dates

    I want to find the 'week' of a season for a sports schedule. The 'weeks' will start on Sunday, so any game played before the next Saturday wil be in the same week.

    In the example I am looking to return the values as shown in column "G".

    Jim O
    Attached Files Attached Files
    Last edited by JO505; 05-16-2015 at 04:35 PM. Reason: Fat typing fingers.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Determine the week of a sports season from a list of dates

    Based on your sample, try this, copied down...
    =WEEKNUM(E2)-14
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Determine the week of a sports season from a list of dates

    That looks to be the answer.

    Thanks much for the help

    Jim O

  4. #4
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Determine the week of a sports season from a list of dates

    For some reason I am unable to get it to work with a different set of dates.

    See column "P". I wants to start with the first week number as a 0 rather that a 1.

    Jim O
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Determine the week of a sports season from a list of dates

    I used -14 because you had started in week 15 and wanted to show 1. If you need to show 0, use -15 instead

  6. #6
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Determine the week of a sports season from a list of dates

    Thanks, I didn't quite understand how the formula was working. I think I have an understanding now.

    Jim O

+ 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. Converting dates to year/season
    By Biodiversity in forum Excel General
    Replies: 9
    Last Post: 02-25-2014, 06:23 PM
  2. Replies: 3
    Last Post: 02-05-2014, 11:53 AM
  3. Determine future dates based on selected days of the week
    By hnowack in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2008, 09:51 PM
  4. Replies: 3
    Last Post: 12-14-2007, 11:51 AM
  5. need to convert list of dates to count no. of dates by week
    By neowok in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-30-2006, 11:54 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