Time and Date Summing

Michael S2004

New Member
Joined
Jan 20, 2004
Messages
1
I have one columb with Date, I have a second columb with Time. mm/dd/yy and 16:22 (military time)

In the second row I have a newer Date and Time.

I would like to figure the amount of hours ( to the tenth) between the two rows.

Could you please tell me what the formula is?
 

Some videos you may like

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Zack Barresse

MrExcel MVP
Joined
Dec 9, 2003
Messages
10,881
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
make sure the two date columns are formatted the same, in your formula column, take latestdate - earlierdate. format the cell to number w/ 1 decimal point.

if you want hours add * 24 in your formula cell.

hope this helps.
 

BuddieB

Board Regular
Joined
Aug 6, 2003
Messages
174
Simply add the date and time for each row together to combine into one date reading that XL will read.

Then you can subtract one date from the other, the resulting number is a difference in "days" which is waht Xl uses for times.

Once you have this, multiply it by 24 to get it into hours and format the cell to be #.0 to give you "tenths"
Book1
ABCD
1DateTimeCombined
21/20/200416:00:001/20/200416:00
31/22/200411:30:001/22/200411:30
4Difference43.5
5SingleFormula:43.5
6
SGH Template
 

Watch MrExcel Video

Forum statistics

Threads
1,122,517
Messages
5,596,619
Members
414,081
Latest member
Subaru_Steve

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