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?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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.
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,605
Messages
6,120,476
Members
448,967
Latest member
visheshkotha

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