+ Reply to Thread
Results 1 to 7 of 7

I want start date to be as Week 1

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    91

    I want start date to be as Week 1

    Hi Please can you help me, I have this formula

    =TRUNC((K5-DATE(YEAR(K5),1,1)+WEEKDAY(DATE(YEAR(K5),1,1))-1)/7)+1

    But at the moment it's show the week number of the year. I want to show the start date as week 1 and so on.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: I want start date to be as Week 1

    Something like

    =WEEKNUM(D12)-WEEKNUM(StartDate) +1
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    91

    Re: I want start date to be as Week 1

    Thanks AndyLitch. the start date changed to Week 1 but as you go along the dates it didn't change to week2, 3, 4 all the dates changed to week 1.

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: I want start date to be as Week 1

    You need to change the reference between the two dates.... If you could upload your file it would be easier to fix.

  5. #5
    Registered User
    Join Date
    04-22-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    91

    Re: I want start date to be as Week 1

    Here's the file
    Attached Files Attached Files

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: I want start date to be as Week 1

    WEEKNUM won't work for you if your dates span across more than 1 calendar year. If you have start date in B4 (change as required) then this formula will give you the week number for a date in K5 assuming that B4 is day 1 of week 1

    =INT((K5-$B$4)/7)+1

    If you want a "W" to display change to

    ="W"&INT((K5-$B$4)/7)+1
    Last edited by daddylonglegs; 04-23-2013 at 07:52 AM.
    Audere est facere

  7. #7
    Registered User
    Join Date
    04-22-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    91

    Re: I want start date to be as Week 1

    that's is really great thanks

+ 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