Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: Figuring the difference on two date/time fields

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hello.

    I am working to calculate the elapsed time, in hh:mm:ss between two date/time fields, including days. Such as 4/24/2002 3:58:15 PM and 4/25/2002 8:37:51 PM. I can use TEXT(F14-E14,"h:mm:ss"), but it does not handle the 28 hours.

    Any suggestions?



  2. #2
    MrExcel MVP
    Join Date
    Mar 2002
    Location
    Michigan USA
    Posts
    11,454
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-30 08:43, Scooter wrote:
    Hello.

    I am working to calculate the elapsed time, in hh:mm:ss between two date/time fields, including days. Such as 4/24/2002 3:58:15 PM and 4/25/2002 8:37:51 PM. I can use TEXT(F14-E14,"h:mm:ss"), but it does not handle the 28 hours.

    Any suggestions?
    Hi scooter:
    Take the differnce between two cells ...
    =A1-B1 and custom format as [h]:mm:ss

    Hope This Helps!
    Regards!

    Yogi Anand, D.Eng, P.E.
    Energy Efficient Building Network LLC
    www.energyefficientbuild.com

  3. #3
    Board Regular
    Join Date
    Apr 2002
    Location
    Greenwood, SC
    Posts
    677
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Another possiblity if you only need a text date/time or don't want to change formatting on your cells is:

    =INT((E8-E7)*24)&":"&TEXT(E8-E7,"mm:ss")

    K

  4. #4
    New Member
    Join Date
    Apr 2002
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks! This works well..

    Now, a follow up..

    I want to take the result, and calculate a throughput. Ex. 1.59MB took 1:02 to transfer. Simple division, except the Text value does not work? I took (1.59/62)*60 to calc MB/min. I need to reference the previous cell instead of 62.

    Do I need to convert to seconds (and how) then divide, and then what format do I use?

  5. #5
    New Member
    Join Date
    Nov 2005
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi there, i just recently started using excel for some intense data collection. Now i need to extract some datas for certain time period. My date and time format is [as dd/time/h] e.g 231400H. I have tried the Text format. it doesnt show the result. Any idea how to get it.?

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •