Calculating the difference between two dates AND times

jeffhole

New Member
Joined
Nov 22, 2011
Messages
1
Hello,
I need some help with datediff and/or networkdays. Or something. I have several columns populated with both dates and times in this format -> mm/dd/yyyy hh:mm:ss

They look like this:

Column A
11/16/2011 13:19:07
11/14/2011 17:19:06

Column B
11/17/2011 07:19:56
11/18/2011 11:01:56


I need to figure out how to find the amount of time between the two columns. I searched and couldn't find exactly what I was looking for. The trouble I'm having is with incorporating the time along with the date. Excel formulas or VBA solutions will work, I'm not picky, just braindead :D I'm hoping the solution is an easy one that I overlooked.

Thank you very much.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,215,032
Messages
6,122,770
Members
449,095
Latest member
m_smith_solihull

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