+ Reply to Thread
Results 1 to 7 of 7

use dates to get week it falls on

  1. #1
    Registered User
    Join Date
    10-10-2008
    Location
    Illinois
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    85

    use dates to get week it falls on

    Hello, I have a list of dates in col "A". In col "B" i would like it to display the week it falls on. Example 12/12/08 would fall under week 12/7/08 to 12/13/08. Any ideas? Thanks
    Last edited by Khaos176; 12-12-2008 at 03:36 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Maybe you could use VLOOKUP & WEEKNUM. Create a table of the dates with the corresponding week number
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    The Sunday in the week of A1 is = A1 - WEEKDAY(A1 - 6, 3)

    The Saturday in the week of A1 is = A1 + 6 - WEEKDAY(A1 - 6, 3)
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    10-10-2008
    Location
    Illinois
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    85
    Thank you both for your help. I looked into the ideas and still cant come up with anything. I am attaching an example to maybe help. Thanks again
    Attached Files Attached Files

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    In B2 and copy down, =TEXT(A2 - WEEKDAY(A2 - 6, 3), "mm/dd/yy to ") & TEXT(A2 + 6 - WEEKDAY(A2 - 6, 3), "mm/dd/yy")

  6. #6
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    use dates to get week it falls on

    Using your posted workbook, try this:
    Please Login or Register  to view this content.
    Copy that formula down as far as you need.

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  7. #7
    Registered User
    Join Date
    10-10-2008
    Location
    Illinois
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    85
    Got it!!
    Thank You.

+ 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