Calculate Total minutes

solotech

New Member
Joined
Aug 5, 2018
Messages
7
Hi,
I need to know the total minutes between ARRIVE DATE / ARRIVE TIME and DEPART DATE / DEPART TIME.
Times are in 24hr format. Can someone show me how to update TOTAL MINS as data is entered please.
Thank you.


[TABLE="width: 576"]
<colgroup><col width="64" style="width:48pt" span="9"> </colgroup><tbody>[TR]
[TD="width: 64, bgcolor: #C0C0C0"]Arrive: DATE[/TD]
[TD="width: 64, bgcolor: #C0C0C0"]NAME[/TD]
[TD="width: 64, bgcolor: #C0C0C0"]Gate[/TD]
[TD="width: 64, bgcolor: #C0C0C0"]Water meter[/TD]
[TD="width: 64, bgcolor: #C0C0C0"]Test [/TD]
[TD="width: 64, bgcolor: #C0C0C0"]Arrive: TIME[/TD]
[TD="width: 64, bgcolor: #C0C0C0"]Depart: DATE[/TD]
[TD="width: 64, bgcolor: #C0C0C0"]Depart: TIME[/TD]
[TD="width: 64, bgcolor: #C0C0C0"]TOTAL MINS[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]01.02.19[/TD]
[TD="bgcolor: transparent"]TEST 1[/TD]
[TD="bgcolor: transparent"]1[/TD]
[TD="bgcolor: transparent"]003738[/TD]
[TD="bgcolor: transparent"]Staff[/TD]
[TD="bgcolor: transparent"]0415[/TD]
[TD="bgcolor: transparent"]01.02.19[/TD]
[TD="bgcolor: transparent"]1540[/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
</tbody>[/TABLE]
 
Not sure what formula you are using! Assuming the dates are now dates and the times are as before, try

=IFERROR(((G2+TIME(LEFT(H2,LEN(H2)-2),RIGHT(H2,2),0))-(A2+TIME(LEFT(F2,LEN(F2)-2),RIGHT(F2,2),0)))*1440,"")
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top