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 motto
Not everything I do at work revolves around Excel. Only the fun parts.
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.
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,795
Members
449,048
Latest member
greyangel23

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