Difference Between Two Dates/Times

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
I am trying to figure out a way of determining how many hours and minutes have transpired between two Date/Times
Cell C3 has the "Start Date/Time" and Cell D3 has the "End Date/Time"
I have both of these cells formatted to display the as follows:
9/16/2019 7:30:00 AM

In E3 (formatted as "Time" hh:mm), I have the formula =D3-C3
I am not getting the results that I am looking for

C3 = 9/16/2019 7:30:00 AM
D3 = 9/17/2019 8:30:00 AM
E3 = 1:00

E3 should equal 13:00 (13 hours and 0 minutes)

Any Suggestions as to what I am doing incorrectly?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
It is returning the right results, it just isn't formatted the way you want.
Apply the Custom Format of: [h]:mm

Note: In the actual example you presented, the actual answer is 25 hours, not 13 (it is more than one day).
It would only be 13 hours if the date in cell C3 was PM, not AM.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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