VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
On Sheet1
....and so on till 11.00 pm
On Sheet2, I have Start time data
I need count of respective time in Sheet 1. If Start time is 00.55, then count of this goes in "12.00 AM"..
Any one provide this formula..
Code:
[TABLE="width: 299"]
<colgroup><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Department Name[/TD]
[TD]12:00 AM[/TD]
[TD]1:00 AM[/TD]
[TD="align: right"]2:00 AM[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
On Sheet2, I have Start time data
Code:
[TABLE="width: 159"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Shift Start Time (24 hour format[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]22:30[/TD]
[/TR]
[TR]
[TD]22:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]22:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]22:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]13:30[/TD]
[/TR]
[TR]
[TD]22:30[/TD]
[/TR]
</tbody>[/TABLE]
I need count of respective time in Sheet 1. If Start time is 00.55, then count of this goes in "12.00 AM"..
Any one provide this formula..