Kris75
Board Regular
- Joined
- Jul 29, 2009
- Messages
- 143
Hi Guys
I'm trying to work out the number of working hours passed between two Date/times.
C13= Start date/time
D13=End date/time
X1= Start of Shift (0800) Mon - Fri
Y1= End of Shift (1800) Mon - Fri
using this Formula - i can calculate how many 'working' hours have passed
in a standard mon - Fri 8 - 6 shift - Which is great
what i need to do is add to this a Saturday Shift which starts at 0900 and Ends 1300
Any Suggestions?
Kris
=(NETWORKDAYS(C13,D13)-1)*($Y1-X1)+IF(NETWORKDAYS(D13,D13),MEDIAN(MOD(D13,1),Y1,X1),Y1)-MEDIAN(NETWORKDAYS(C13,C13)*MOD(C13,1),Y1,X1)
I'm trying to work out the number of working hours passed between two Date/times.
C13= Start date/time
D13=End date/time
X1= Start of Shift (0800) Mon - Fri
Y1= End of Shift (1800) Mon - Fri
using this Formula - i can calculate how many 'working' hours have passed
in a standard mon - Fri 8 - 6 shift - Which is great
what i need to do is add to this a Saturday Shift which starts at 0900 and Ends 1300
Any Suggestions?
Kris
=(NETWORKDAYS(C13,D13)-1)*($Y1-X1)+IF(NETWORKDAYS(D13,D13),MEDIAN(MOD(D13,1),Y1,X1),Y1)-MEDIAN(NETWORKDAYS(C13,C13)*MOD(C13,1),Y1,X1)