Difference in hours from two date/time fields?

Infiltrator64

Board Regular
Joined
Dec 19, 2004
Messages
63
How Can i show the difference in hours and minutes between two date/time fileds? Difference in hours/minutes from column f - column e.

Both fields are using a mm/dd/yy hh:mmAM/PM format.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Infiltrator64

Board Regular
Joined
Dec 19, 2004
Messages
63
Thanks Yee.

That was too simple :)

I now have an issue where i need to =IF(F1<E1, F1-D1,F1-E1).

the F1-E1 works to show the difference in hours between the two but if F1 date is earlier than E1 date i need to use D1 date to subtract from F1 date instead. The formula I used above didn't work.
 

Forum statistics

Threads
1,148,220
Messages
5,745,456
Members
423,952
Latest member
EduardoM

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
Top