input | input | formula (arrived on site - driving time) |
DRIVING TIME | ARRIVED ON SITE | STARTED DRIVING |
1:00 | 15:00 | 14:00 |
3:00 | 19:30 | 16:30 |
18:00 | 3:00 | gives negative number ######## - should be 9:00 |
<tbody>
</tbody>
Who can help me solving above?
I calculate the 'started driving time" by subtracting arrival time from driving time.
When negative i don't know how to calculate for correct time?