Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
WEEKNUM to dynamic range name | Excel Worksheet Functions | |||
Weeknum | Excel Worksheet Functions | |||
weeknum function says jan1=week1, mod to first 4 day week needed | Excel Discussion (Misc queries) | |||
weeknum function returns name error | Excel Worksheet Functions | |||
Weeknum | Excel Worksheet Functions |