[FONT="]Dear Masters,[/FONT]
[FONT="]
[/FONT]
[FONT="]I have a real challenge to you, I need formula or VBA that calculate the column [FONT="]10 PM to 5 AM[/FONT] and[FONT="]10 PM to End[/FONT].[/FONT]
[FONT="]
[/FONT]
[FONT="]The formula or VBA need to understand:[/FONT]
[FONT="]
[/FONT]
<tbody> [TD="colspan: 8"]
[/TD]
[TD="colspan: 2"]
[/TD]
</tbody>[/FONT]
[FONT="]
[/FONT]
[FONT="]I have a real challenge to you, I need formula or VBA that calculate the column [FONT="]10 PM to 5 AM[/FONT] and[FONT="]10 PM to End[/FONT].[/FONT]
[FONT="]
[/FONT]
[FONT="]The formula or VBA need to understand:[/FONT]
[FONT="]
[/FONT]
- Column [FONT="]10 PM to 5 AM[/FONT] Calculate just time between 10 PM until 5 AM (number in hours, can be hours and minutes)
- Column [FONT="]10 PM to End[/FONT] Calculate just time between 10 PM until end (number in hours, can be hours and minutes)
- In A4 start 10/09/10 (10 PM) and stop 11/09/2010 (2 AM)
[FONT="]DAY[/FONT] | |||||||||||
[FONT="]IN[/FONT] | [FONT="]OUT[/FONT] | [FONT="]IN[/FONT] | [FONT="]OUT[/FONT] | [FONT="]IN[/FONT] | [FONT="]OUT[/FONT] | [FONT="]10 PM to 5 AM[/FONT][FONT="][/FONT] | [FONT="]10 PM to End[/FONT] | ||||
[FONT="]9/9/10[/FONT] | [FONT="]6:00 AM[/FONT] | [FONT="]1:00 PM[/FONT] | [FONT="]2:00 PM[/FONT] | [FONT="]6:00 PM[/FONT] | [FONT="]7:00 PM[/FONT] | [FONT="]11:30 PM[/FONT] | [FONT="]1.50[/FONT] | [FONT="]1.50[/FONT] | |||
[FONT="]9/10/10[/FONT] | [FONT="]10:00 PM[/FONT] | [FONT="]2:00 AM[/FONT] | [FONT="]4.00[/FONT] | [FONT="]4.00[/FONT] | |||||||
[FONT="]9/11/10[/FONT] | [FONT="]10:30 PM[/FONT] | [FONT="]6:00 AM[/FONT] | [FONT="]6.50[/FONT] | [FONT="]7.50[/FONT] | |||||||
[FONT="]9/12/10[/FONT] | [FONT="]8:00 PM[/FONT] | [FONT="]5:30 AM[/FONT] | [FONT="]7.00[/FONT] | [FONT="]7.50[/FONT] | |||||||
[FONT="]9/13/10[/FONT] | [FONT="]5:00 AM[/FONT] | [FONT="]10:00 AM[/FONT] | [FONT="]11:00 AM[/FONT] | [FONT="]10:00 PM[/FONT] | [FONT="]0.00[/FONT] | [FONT="]0.00[/FONT] | |||||
[FONT="]9/14/10[/FONT] | [FONT="]3:00 AM[/FONT] | [FONT="]12:00 PM[/FONT] | [FONT="]1:00 PM[/FONT] | [FONT="]12:15 AM[/FONT] | [FONT="]4.25[/FONT] | [FONT="]4.25[/FONT] | |||||
[FONT="]9/15/10[/FONT] | [FONT="]12:25 AM[/FONT] | [FONT="]2:00 AM[/FONT] | [FONT="]4:00 AM[/FONT] | [FONT="]8:00 AM[/FONT] | [FONT="]2.58[/FONT] | [FONT="]5.58[/FONT] | |||||
[FONT="]9/16/10[/FONT] | [FONT="]5:00 PM[/FONT] | [FONT="]10:00 PM[/FONT] | [FONT="]11:00 PM[/FONT] | [FONT="]12:30 AM[/FONT] | [FONT="]1.50[/FONT] | [FONT="]1.50[/FONT] | |||||
[FONT="]9/17/10[/FONT] | [FONT="]10:00 PM[/FONT] | [FONT="]11:00 PM[/FONT] | [FONT="]12:00 AM[/FONT] | [FONT="]4:00 AM[/FONT] | [FONT="]5:00 AM[/FONT] | [FONT="]10:00 AM[/FONT] | [FONT="]5.00[/FONT] | [FONT="]10.00[/FONT] | |||
[FONT="]9/18/10[/FONT] | [FONT="]10:00 PM[/FONT] | [FONT="]1:17 AM[/FONT] | [FONT="]1:43 AM[/FONT] | [FONT="]6:00 AM[/FONT] | [FONT="]6.57[/FONT] | [FONT="]7.57[/FONT] |
<tbody> [TD="colspan: 8"]
[FONT="]WORK HOURS[/FONT]
[TD="colspan: 2"]
[FONT="]TIME IN HOURS[/FONT]
</tbody>