LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rick Taylor
 
Posts: n/a
Default How do I get total hours from 2 date/time cells?

I am trying to get the total time that it took from the date and time
something was inducted until the date and time it was completed. I have seen
a few suggestions that come close, but not exactly correct.

I.E. cell A1 = 01/30/2006 23:45
cell B1 = 02/02/2006 07:00

cell C1 input the formula =B1-A1 and change the format to M:DD:HH:MM

But this usually comes back with a figure like 1:02:07:15, which to me is
wrong as it is stating 1 month, 2 days, 7 hours and 15 minutes. Everything
is okay except for the month, which should be zero, as it really only took 2
days, 7 hours and 15 minutes.

If I do the same but change the second data to 05/22/2006 07:00 then I get a
figure of 4:20:07:15. This again appears wrong to me. It should only be 3
months (FEB, MAR, APR), 21 days, 7 hours 15 minutes.

Any advice is welcomed.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting a total for a row of cells where some are text babs Excel Discussion (Misc queries) 1 February 1st 06 04:51 PM
Adding minutes showing total in hours/minutes, i.e., 60 mins + 60 mins + 15 mins to total of 2 hours 15 mins? StargateFan Excel Discussion (Misc queries) 8 January 7th 06 07:35 PM
Sum minutes and seconds to total hours deck4 Excel Discussion (Misc queries) 3 August 29th 05 02:34 PM
Sumproduct help needed! Trying to excel in life but need help Excel Worksheet Functions 5 January 21st 05 09:07 PM
ADDING SUM TOTAL OF MORE THAN 30 CELLS IN A COLUMN TOGETHER - WON. Robin Smith Excel Discussion (Misc queries) 0 December 20th 04 08:47 PM


All times are GMT +1. The time now is 04:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"