sharepoint-2003

Sharepoint, Calculated column, IF function and date

天涯浪子 提交于 2019-12-11 02:06:13
问题 I am trying to add a calculated column. I have a date column containing the date a meeting is scheduled. From this column I need a code which can return if the meeting is scheduled in Q1, Q2, Q3 or Q4. I have a static code looking like this: '=IF(Date<40269;"Q1";"Q2-4")' (40269 is the 1. April 2010 and Date=date-column) But I need somekind of dynamic code which can calculate the same thing next year as well, without someone having to change the number(40269). I need something like this: '=IF