Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
show time difference | New Users to Excel | |||
Time difference between two times | Excel Worksheet Functions | |||
Calculating Difference Between Start Date & Time And End Date & Ti | Excel Discussion (Misc queries) | |||
HOURS DIFFERENCE IN TIME BETWEEN DIFFERENT DATES AND TIMES | Excel Worksheet Functions | |||
enter a time into a cell, have the cell show two times the entry | Excel Worksheet Functions |