+ Reply to Thread
Results 1 to 3 of 3

Creating a formula that extracts the week from a date

  1. #1
    Registered User
    Join Date
    07-01-2012
    Location
    USA
    MS-Off Ver
    2007
    Posts
    1

    Creating a formula that extracts the week from a date

    Hi everyone, I have a very time consuming problem, I'm hoping someone will be able to help me with. Basically I have every single date from today until June 2015 in one column of an excel doc. In the next column, I have the week it resides it. Is there a formula that can be made to easily associate a date with a week? I've been doing this by hand, and it's taking a ton of time!

    Thanks!


    Date | Week
    7/1/2012| 7/1/2012
    7/2/2012 | .
    . .
    .
    .
    .
    7/7/2012 | 7/1/2012
    Last edited by moot; 07-02-2012 at 12:14 AM.

  2. #2
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Creating a formula that extracts the week from a date

    Hi moot - welcome to the forum.

    You could go for week numbers with this in B1 when first date is in A1

    Please Login or Register  to view this content.
    and then B2
    Please Login or Register  to view this content.
    (copy down)

    or for the first day of the week

    in B1 put
    Please Login or Register  to view this content.
    and in B2

    Please Login or Register  to view this content.
    copy down

    Hope this saves you time.

    Cheers
    Last edited by Russell Dawson; 07-02-2012 at 04:31 AM. Reason: NOTE TO MOD - POSTED AFTER CHANGE BY OP
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Creating a formula that extracts the week from a date

    Assuming your dates are starting in A1

    In B1: =A1
    In B2: =B1 and drag down to B7

    Now select: B1:B7 and double click on the drag handle

+ 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