+ Reply to Thread
Results 1 to 3 of 3

Add in missing seconds between timestamps

  1. #1
    Registered User
    Join Date
    07-08-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Add in missing seconds between timestamps

    My data looks like:

    Time Num
    08:56:59 0.03
    08:57:04 0.63
    08:57:09 0.72
    08:57:14 0.11


    I wnat to fill in the missing seconds. is there a way to do this automatically? My file has 1000s of rows. A snippet of the data is attached.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Add in missing seconds between timestamps

    Step 1, use the TIMEVALUE() function to convert the text string "time" in row2 to a real time value. https://support.office.com/en-us/art...d-f3eb6d186645
    step 2, add a function like =reference to step 1+TIME(0,0,1)
    step 3, copy step 2 down as far as needed.

    I just realized that you are posting this in the VBA forum. Same steps apply, just use the VBA functions instead of the Excel worksheet functions. https://msdn.microsoft.com/en-us/lib.../gg278435.aspx
    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
    07-08-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Add in missing seconds between timestamps

    ohhh they arent times! I tried everything and it jsut was not working but thats because they were strings! Thank you for the help

+ 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. [SOLVED] Insert missing two seconds rows
    By rajre in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2014, 02:05 AM
  2. [SOLVED] Insert missing seconds time rows
    By rajre in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-05-2014, 01:35 PM
  3. [SOLVED] Seconds to hours:minutes:seconds format
    By dalipsinghbisht in forum Excel General
    Replies: 1
    Last Post: 05-12-2013, 12:10 AM
  4. convert from seconds to form hours: minutes: seconds?
    By nguyen_han in forum Excel General
    Replies: 2
    Last Post: 10-13-2011, 06:56 AM
  5. Replies: 4
    Last Post: 01-18-2010, 04:29 AM
  6. convert minutes and seconds to seconds
    By Tracey B in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2007, 03:34 PM
  7. Replies: 2
    Last Post: 02-17-2006, 08:15 PM

Tags for this Thread

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