+ Reply to Thread
Results 1 to 3 of 3

Elapsed tiime from Timestamps

Hybrid View

  1. #1
    Registered User
    Join Date
    12-01-2008
    Location
    USA
    Posts
    13

    Elapsed tiime from Timestamps

    I have a data file that has timestamps with irregular timing intervals and I need to chart this data.

    But I want elapsed time in the X axis not absloute time.

    How can I use thease to get an elpased time in hours?

    When I try to do any math on the timestamp the results always come out wrong, not the wrong format, the wrong answer.

    I have attached a file with the timestamps I am intrested in.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,420

    Re: Elapsed tiime from Timestamps

    It all looks correct to me. The numbers look like perfectly reasonable "fractions of a day" (how Excel stores time numbers). I selected column B and formatted as elapsed hours "[h]:mm:ss".

    I would have used something like =A3-$A$2 (note the mix of relative and absolute references) instead of the formula you have, but the result should be the same.

    If you need help understanding how Excel stores date/time numbers: http://www.cpearson.com/Excel/datetime.htm
    If you need to review number format codes (including those for date/time numbers): https://support.office.com/en-us/art...7-9c9354dd99f5
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    12-01-2008
    Location
    USA
    Posts
    13

    Re: Elapsed tiime from Timestamps

    I found the answer on another forum:

    Maybe I was not clear enough, but I need elapsed time in hours from the timestamps.

    With timestamps in column A and elapsed time in column B

    Elapsed Time (in hours) B1 =(((A3-A2)*86400)/3600)+B0
    Attached Files Attached Files
    Last edited by AlphaBob; 09-24-2018 at 06:08 PM.

+ 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. Replies: 3
    Last Post: 04-30-2018, 11:46 PM
  2. [SOLVED] I need some help with timestamps
    By feldene in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-30-2017, 05:04 PM
  3. [SOLVED] Need button to appear after file saved the 1st tiime / is opened a second time
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-18-2017, 11:46 AM
  4. [SOLVED] help with run tiime error
    By elmasguapo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-03-2015, 06:29 PM
  5. Replies: 13
    Last Post: 01-15-2015, 07:56 PM
  6. Counting Mult text or Times in one cell or multiple cells at one tiime?
    By COLTS12OG in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-31-2013, 07:56 PM
  7. Sum of timestamps
    By bobsmith2008 in forum Excel General
    Replies: 3
    Last Post: 05-11-2010, 08:30 AM

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