+ Reply to Thread
Results 1 to 3 of 3

how to calculate time elapsed in 2 datetimes?

  1. #1
    Registered User
    Join Date
    02-14-2006
    Posts
    75

    Arrow how to calculate time elapsed in 2 datetimes?

    A B
    27/09/2013 08:03
    27/09/2013 11:50
    27/09/2013 12:22
    27/09/2013 15:25
    27/09/2013 15:50
    27/09/2013 17:25
    30/09/2013 08:10
    30/09/2013 14:06
    30/09/2013 16:02
    30/09/2013 18:36
    01/10/2013 07:53
    01/10/2013 13:48
    02/10/2013 08:00
    02/10/2013 13:58
    02/10/2013 15:59
    02/10/2013 18:32
    03/10/2013 15:37
    03/10/2013 19:04

    How to calculate in cell B the time elapsed in each datetime. sample of formmula: B2=A1-A2

    Thanks

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: how to calculate time elapsed in 2 datetimes?

    Your subtraction needs to go in the other direction. A more current date is a higher value than an older date.

    B2=text(A2-A1,"[h]:mm")

  3. #3
    Registered User
    Join Date
    02-14-2006
    Posts
    75

    Re: how to calculate time elapsed in 2 datetimes?

    27/09/2013 08:03
    27/09/2013 11:50 3:46
    27/09/2013 12:22
    27/09/2013 15:25 3:02
    27/09/2013 15:50
    27/09/2013 17:25 1:34
    30/09/2013 08:10
    30/09/2013 14:06 5:55
    30/09/2013 16:02
    30/09/2013 18:36 2:34
    01/10/2013 07:53
    01/10/2013 13:48 5:55
    02/10/2013 08:00
    02/10/2013 13:58 5:58
    02/10/2013 15:59
    02/10/2013 18:32 2:32
    03/10/2013 15:37
    03/10/2013 19:04 3:26


    I need sum hours and minutes? the result is: 29 hours +342 minutes (342/60=5.7= 5 hours+42 minutes[.7*60=42]) then the result is: (29+5)=34 and 42 minutes.


    but wich formula use for automate this?

    thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't seem to calculate elapsed time?
    By homer09001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2013, 08:12 AM
  2. Replies: 2
    Last Post: 04-27-2011, 08:21 AM
  3. Calculate elapsed time by now() ?
    By Desiv5 in forum Excel General
    Replies: 5
    Last Post: 05-07-2010, 05:16 AM
  4. calculate elapsed time
    By Tiresias in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-28-2008, 12:52 AM
  5. Calculate Elapsed Date and Time
    By Gary F Shelton in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-11-2006, 11:10 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1