minhhieule89
Board Regular
- Joined
- Jul 16, 2014
- Messages
- 68
Hi all, I have a spreadsheet like below
[TABLE="width: 392"]
<colgroup><col span="3"><col span="2"></colgroup><tbody>[TR]
[TD="align: right"]Start Time[/TD]
[TD="align: right"]End Time[/TD]
[TD="align: right"]Duration[/TD]
[TD="align: right"]A[/TD]
[TD="align: right"]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]8:22 AM[/TD]
[TD="align: right"]8:39 AM[/TD]
[TD="align: right"]16:47[/TD]
[TD="align: right"]0:17[/TD]
[TD="align: right"]17[/TD]
[/TR]
[TR]
[TD="align: right"]8:54 AM[/TD]
[TD="align: right"]9:10 AM[/TD]
[TD="align: right"]15:53[/TD]
[TD="align: right"]0:16[/TD]
[TD="align: right"]16[/TD]
[/TR]
[TR]
[TD="align: right"]9:33 AM[/TD]
[TD="align: right"]9:35 AM[/TD]
[TD="align: right"]2:03[/TD]
[TD="align: right"]0:02[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]9:40 AM[/TD]
[TD="align: right"]9:43 AM[/TD]
[TD="align: right"]2:46[/TD]
[TD="align: right"]0:03[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]10:05 AM[/TD]
[TD="align: right"]10:05 AM[/TD]
[TD="align: right"]0:13[/TD]
[TD="align: right"]0:00[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]10:07 AM[/TD]
[TD="align: right"]10:08 AM[/TD]
[TD="align: right"]1:01[/TD]
[TD="align: right"]0:01[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10:36 AM[/TD]
[TD="align: right"]10:50 AM[/TD]
[TD="align: right"]13:30[/TD]
[TD="align: right"]0:14[/TD]
[TD="align: right"]14[/TD]
[/TR]
</tbody>[/TABLE]
The Duration column is already calculated but I cannot use it since it's in the wrong format, when I sum the whole column I got 7:01 as the result which is not correct, the correct one should be 53 minutes
so I have to create helper column A which End Time minus Start Time, then helper column B which is taking HOUR(A)*60+MINUTE(A) to calculate in total how many minutes those event lasted
this is dump and I think there's must be a way to quickly calculate the 53 minutes, please help and thank you
[TABLE="width: 392"]
<colgroup><col span="3"><col span="2"></colgroup><tbody>[TR]
[TD="align: right"]Start Time[/TD]
[TD="align: right"]End Time[/TD]
[TD="align: right"]Duration[/TD]
[TD="align: right"]A[/TD]
[TD="align: right"]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]8:22 AM[/TD]
[TD="align: right"]8:39 AM[/TD]
[TD="align: right"]16:47[/TD]
[TD="align: right"]0:17[/TD]
[TD="align: right"]17[/TD]
[/TR]
[TR]
[TD="align: right"]8:54 AM[/TD]
[TD="align: right"]9:10 AM[/TD]
[TD="align: right"]15:53[/TD]
[TD="align: right"]0:16[/TD]
[TD="align: right"]16[/TD]
[/TR]
[TR]
[TD="align: right"]9:33 AM[/TD]
[TD="align: right"]9:35 AM[/TD]
[TD="align: right"]2:03[/TD]
[TD="align: right"]0:02[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]9:40 AM[/TD]
[TD="align: right"]9:43 AM[/TD]
[TD="align: right"]2:46[/TD]
[TD="align: right"]0:03[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]10:05 AM[/TD]
[TD="align: right"]10:05 AM[/TD]
[TD="align: right"]0:13[/TD]
[TD="align: right"]0:00[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]10:07 AM[/TD]
[TD="align: right"]10:08 AM[/TD]
[TD="align: right"]1:01[/TD]
[TD="align: right"]0:01[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10:36 AM[/TD]
[TD="align: right"]10:50 AM[/TD]
[TD="align: right"]13:30[/TD]
[TD="align: right"]0:14[/TD]
[TD="align: right"]14[/TD]
[/TR]
</tbody>[/TABLE]
The Duration column is already calculated but I cannot use it since it's in the wrong format, when I sum the whole column I got 7:01 as the result which is not correct, the correct one should be 53 minutes
so I have to create helper column A which End Time minus Start Time, then helper column B which is taking HOUR(A)*60+MINUTE(A) to calculate in total how many minutes those event lasted
this is dump and I think there's must be a way to quickly calculate the 53 minutes, please help and thank you