SP calculated fields: http://abstractspaces.wordpress.com/2009/05/02/common-date-time-formulas-for-sharepoint-calculated-fields/
cw
=INT((Created-DATE(YEAR(Created),1,1))/7)
This is for calendarweeks as in Outlook: cw 1 is the first week in the year with a Monday.
=INT(([Date Production]-DATE(YEAR([Date Production]),1,1)+(TEXT(WEEKDAY(DATE(YEAR([Date Production]),1,1)),"d")-1))/7)
cw
=INT((Created-DATE(YEAR(Created),1,1))/7)
This is for calendarweeks as in Outlook: cw 1 is the first week in the year with a Monday.
=INT(([Date Production]-DATE(YEAR([Date Production]),1,1)+(TEXT(WEEKDAY(DATE(YEAR([Date Production]),1,1)),"d")-1))/7)
Kommentare