hi guys,
I've been trying to figure how to compute the time for a certain time range.
ex.
time in time out Start Premium End Premium Hours in Premium
20:06 9:35 22:00 6:00 ????
1:00 21:00 22:00 6:00
I need to calculate how many time they work for start premium to end premium. Please see my example.
Just to not that this is 24 hours work shift and there are different time scenario which makes it more difficult for me.
thanks in advance
Last edited by kurk011; 02-06-2012 at 04:48 PM.
I think the time mess up on the example.. you could check the attachment to understand more the problem i have
Try
=MOD(D2-C2,1)
thanks for the reply but it doesnt give the value i want. i need to compute the hours he worked within that range (22:00 - 6:00).
Try this formula in E2
=MOD(B2-A2,1)-(B2<A2)*(C2-D2)-MEDIAN(B2,C2,D2)+MEDIAN(A2,C2,D2)
assumes that C2 to D2 will always cross midnight
Audere est facere
Hi Guys wondering if you could help me
i need to create a time sheet where by hours from 7 am to 18:00(6pm) get placed in one area and then hours after this get placed in another area to work out how many hours worked on on morning shift and then in the evening. as sometimes we only work 2 hours between 7-18 and then 8 after that your help would be greatly appreciated
TimeSheet.xls
Create a new thread, do not hijack someone else's.
ok was just posting it here as my issue relates and this one appears to be solved made more sense to me
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks