+ Reply to Thread
Results 1 to 3 of 3

Thread: Weeknum help

  1. #1
    SoSoExcelGuy
    Guest

    Weeknum help

    I am having trouble calculating the fiscal weeks of the current year. In my
    company's calendar, FW1 starts on Monday, January 2, 2006. I found the
    weeknum function and I keep having it tell me that FW 1 is on 1/1/06. Does
    anyone else know of other functions I can use or do I have to do some
    programming to get this straightened out?
    Added bonus question: If I dynamically link a cell that contains a date
    from MS Project to Excel, how can I format the cell in Excel to display the
    FW not the date.

    Any help with either of the questions would be greatly appreciated.


  2. #2
    bpeltzer
    Guest

    RE: Weeknum help

    If FW1 begins on 1/2/06, then you could calculate a given date's FW as
    =INT((A1+7-DATE(2006,1,2))/7) (with the chosen date in A1)
    Alternately, with a weeknum in A1, that week begins on
    =date(2006,1,2)+7*(a1-1) (be sure to format the result as a date).


    "SoSoExcelGuy" wrote:

    > I am having trouble calculating the fiscal weeks of the current year. In my
    > company's calendar, FW1 starts on Monday, January 2, 2006. I found the
    > weeknum function and I keep having it tell me that FW 1 is on 1/1/06. Does
    > anyone else know of other functions I can use or do I have to do some
    > programming to get this straightened out?
    > Added bonus question: If I dynamically link a cell that contains a date
    > from MS Project to Excel, how can I format the cell in Excel to display the
    > FW not the date.
    >
    > Any help with either of the questions would be greatly appreciated.
    >


  3. #3
    SoSoExcelGuy
    Guest

    RE: Weeknum help

    Thanks a million for the help

    "bpeltzer" wrote:

    > If FW1 begins on 1/2/06, then you could calculate a given date's FW as
    > =INT((A1+7-DATE(2006,1,2))/7) (with the chosen date in A1)
    > Alternately, with a weeknum in A1, that week begins on
    > =date(2006,1,2)+7*(a1-1) (be sure to format the result as a date).
    >
    >
    > "SoSoExcelGuy" wrote:
    >
    > > I am having trouble calculating the fiscal weeks of the current year. In my
    > > company's calendar, FW1 starts on Monday, January 2, 2006. I found the
    > > weeknum function and I keep having it tell me that FW 1 is on 1/1/06. Does
    > > anyone else know of other functions I can use or do I have to do some
    > > programming to get this straightened out?
    > > Added bonus question: If I dynamically link a cell that contains a date
    > > from MS Project to Excel, how can I format the cell in Excel to display the
    > > FW not the date.
    > >
    > > Any help with either of the questions would be greatly appreciated.
    > >


+ 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.2.0