SharePoint Calendar - Start time after a certain hour
Posted
by KodovaKim
on Server Fault
See other posts from Server Fault
or by KodovaKim
Published on 2010-03-17T21:46:13Z
Indexed on
2010/03/17
21:51 UTC
Read the original article
Hit count: 229
sharepoint2007
I am working with SharePoint Calendar list to create a shift schedule for a team (End user side of things, I am not writing code). I have added a few custom columns to the Calendar List Item. I have the list exported to excel where I have a Pivot table set up so I can see a summary of the different columns - I can see the person's name (From the title column), total hours they are scheduled for (separated into weekdays and weekends based on a custom column I added).
What I need is a way to check the start time of the shift to determine if it is a Day shift (starts at 7am), Eve shift (starts at 3pm), or a Night shift (starts at 10pm). So, when creating a new calculated column I would assume the function I need would go something like "=If([StartDate]>...." but I am not sure on the rest. Anyone know how I would write that function?
© Server Fault or respective owner