View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
erighter erighter is offline
external usenet poster
 
Posts: 5
Default show time difference between start and end times

Tried formatting you suggested, still issue.
for example:

A1 = 4:30 AM
A2 = 9:30 AM

What's the difference in time between these?
(A2 will always be greater or later in the day than A1)

A2 - A1 = 19:00 - - - I am expecting a result of 5 hours though, not 19.

"Shane" wrote:

Try formatting the cell entries as h:mm AM/PM (found in custom) and for the
difference calculation h:mm (also in custom) and just use =A2-A1 for the
formula

"erighter" wrote:

I am trying to find the difference between 2 times to determine the amount of
time lost between 2 events.

A1: First event ends at 6:00 AM (time format)
A2: Second event begins at 10:00 AM (also time format)

I'd like to express the time lost between those two in hh:mm format.
(A2 - A1)*24 = 20:00 --- I'd expect 04:00 to show that there's 4 hrs
between.

But, when A1 = 4:30 AM and A2 = 9:30 AM, the calculation correctly shows
05:00
in time lost.

Where am I going wrong in the first example that gives result of 20 instead
of 4?