How to count hours with military time?

desuth

New Member
Joined
Dec 5, 2017
Messages
21
Office Version
  1. 2016
I have an issue of how to count military time with the wrap around the "Zero" hour.
Also there is no defined length of how many blocks there are.


1 KDFW 1505 KNBG 1630 KSVN 1945 KMIA 2200 7HRS 5MIN
2 KMIA 2000 KDFW 2300 KLSV 0030 KOKC 0425 KDFW 0630 10HRS 30MIN


The time in green is the takeoff time and the time in orange is the landing time.
I need some help with figuring out the length of time between the takeoff and the landing times.
The spaces between the takeoff and landing times are not set and can be as many as 8 other locations inbetween.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][td="bgcolor:#C0C0C0"]
E​
[/td][td="bgcolor:#C0C0C0"]
F​
[/td][td="bgcolor:#C0C0C0"]
G​
[/td][td="bgcolor:#C0C0C0"]
H​
[/td][td="bgcolor:#C0C0C0"]
I​
[/td][td="bgcolor:#C0C0C0"]
J​
[/td][td="bgcolor:#C0C0C0"]
K​
[/td][td="bgcolor:#C0C0C0"]
L​
[/td][td="bgcolor:#C0C0C0"]
M​
[/td][td="bgcolor:#C0C0C0"]
N​
[/td][td="bgcolor:#C0C0C0"]
O​
[/td][td="bgcolor:#C0C0C0"]
P​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td="bgcolor:#F3F3F3"]
Last
[/td][td="bgcolor:#F3F3F3"]
Dur
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]
1​
[/td][td]KDFW[/td][td]
1505​
[/td][td]KNBG[/td][td]
1630​
[/td][td]KSVN[/td][td]
1945​
[/td][td]KMIA[/td][td]
2200​
[/td][td][/td][td][/td][td][/td][td="bgcolor:#CCFFCC"]
2200​
[/td][td="bgcolor:#CCFFFF"]
6:55​
[/td][td][/td][td="bgcolor:#CCFFCC"]M2: =LOOKUP(2400, A2:L2) + 2400 * (LOOKUP(2400, A2:L2) < C2)[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]
2​
[/td][td]KMIA[/td][td]
2000​
[/td][td]KDFW[/td][td]
2300​
[/td][td]KLSV[/td][td]
30​
[/td][td]KOKC[/td][td]
425​
[/td][td]KDFW[/td][td]
630​
[/td][td][/td][td="bgcolor:#CCFFCC"]
3030​
[/td][td="bgcolor:#CCFFFF"]
10:30​
[/td][td][/td][td="bgcolor:#CCFFFF"]N2: =--TEXT(TEXT(M2, "00\:00") - TEXT(C2, "00\:00"), "hh:mm")[/td][/tr]
[/table]
 
Upvote 0
its having a problem when i go from the first number of 1700 and the last number of 0030.
 
Upvote 0
never mind im an idiot....i got it to work thanks for all of your help SHG!!!!
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
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