Trying to create column in list settings using calculated field based on other columns in SharePoint 2010
Using formula :
=ROUND((NETWORKDAYS([Actual Start],[Actual End])*8)-IF(WEEKDAY([Actual Start],2)>=6,0,MIN(MAX(24*(MOD([Actual Start],1)-"9:00"),0),8)) - IF(WEEKDAY([Actual End],2)>=6,0,MIN(24*MAX(("17:00"-MOD([Actual End],1)),0),8)),2)
Gives me an error.
Formula works in excel!!!
Can anyone assist in having a look at the formula and point if any errors? or correction read.
Basically - Trying to calculate the OFF business hours from a given start and end time
Weekday OFF business hours (mon -Fri ) 5pm - 9am
Weekend OFF business hours = Friday 5pm to Monday 9AM
Currently below columns exist:
- Actual Start
- Actual End
- Total Duration
- Off business hours (yet to create) (Total hours - Business hours)