Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default show time difference between start and end times

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?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default show time difference between start and end times

Format cells as General


"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?

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

Formatting cells as general does not help. For example, the difference
between 9:30 AM and 4:30 AM is appearing as a negative number now.

9:30 AM - 4:30 AM = -2.79


"Teethless mama" wrote:

Format cells as General


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default show time difference between start and end times

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?

  #5   Report Post  
Posted to microsoft.public.excel.misc
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?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default show time difference between start and end times

On 23 Jul, 21:30, erighter wrote:
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?


strange when i typed the above in it worked. check to make sure the
cell is time. i.e. When you look at cell format you see h:mm AM/PM

matthew

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
show time difference jkf New Users to Excel 5 June 29th 07 11:31 AM
Time difference between two times GL Excel Worksheet Functions 1 March 7th 07 04:43 PM
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
HOURS DIFFERENCE IN TIME BETWEEN DIFFERENT DATES AND TIMES tankerman Excel Worksheet Functions 1 September 13th 05 04:31 PM
enter a time into a cell, have the cell show two times the entry johnp Excel Worksheet Functions 3 May 2nd 05 12:08 AM


All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"