+ Reply to Thread
Results 1 to 21 of 21

How can I convert a value in the form of HH:MM:SS.111 to just seconds?

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: How can I convert a value in the form of HH:MM:SS.111 to just seconds?

    Yea, it's much easier to see what you're working with and now I see why the earlier solution doesn't work for your spreadsheet

    In any new column row 2 (e.g. F2), try this formula and format it as [s].000 will yield the same result as your expectation.
    Formula: copy to clipboard
    =TEXT(B2,"00\:00\:00\.000")-TEXT(A2,"00\:00\:00\.000")



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  2. #2
    Registered User
    Join Date
    02-28-2014
    Location
    Manchester, England
    MS-Off Ver
    Excel 2011
    Posts
    11

    Re: How can I convert a value in the form of HH:MM:SS.111 to just seconds?

    Quote Originally Posted by alvin-chung View Post
    Try this formula and format it as [s].000 will yield the same result as your expectation.
    Formula: copy to clipboard
    =TEXT(B2,"00\:00\:00\.000")-TEXT(A2,"00\:00\:00\.000")
    EXCELLENT! This has done exactly what I needed!

    Now I need to figure out how to mark this question as solved haha

  3. #3
    Registered User
    Join Date
    02-28-2014
    Location
    Manchester, England
    MS-Off Ver
    Excel 2011
    Posts
    11

    Re: How can I convert a value in the form of HH:MM:SS.111 to just seconds?

    Quote Originally Posted by alvin-chung View Post
    Try this formula and format it as [s].000 will yield the same result as your expectation.
    Formula: copy to clipboard
    =TEXT(B2,"00\:00\:00\.000")-TEXT(A2,"00\:00\:00\.000")
    EXCELLENT! This has done exactly what I needed!

    Now I need to figure out how to mark this question as solved haha

+ 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. convert hh:mm:ss-hh:mm:ss to seconds-seconds
    By lrc_secretary in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-11-2012, 01:20 PM
  2. 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
  3. convert minutes and seconds to seconds
    By Tracey B in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2007, 03:34 PM
  4. convert seconds to minutes and seconds
    By Richard Flame in forum Excel General
    Replies: 3
    Last Post: 02-20-2007, 02:54 PM
  5. Replies: 7
    Last Post: 05-08-2005, 04:06 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