+ Reply to Thread
Results 1 to 4 of 4

How to convert time data into duration data, then inso seconds?

  1. #1
    Registered User
    Join Date
    06-20-2014
    Location
    Minneapolis, MN
    MS-Off Ver
    MS Excel 2010
    Posts
    2

    Question How to convert time data into duration data, then inso seconds?

    EDIT: Oops the title has a typo in it. It should be into seconds, not inso.

    I have a bunch of data measuring how long it took to do something (like 1 min 30 seconds or 35 minutes 54 seconds) but when I put that into Excel using the format hh:mm:ss and selected the cell it showed 12:01:30 AM and 12:35:54 AM, respectively. I don't want the time of day, I want 00:01:30 to be the duration, not just after midnight. I tried fiddling around with the number formatting of the cells, but I can't figure it out. And then I need to convert all those durations into pure seconds, so 00:01:30 would turn into 90 seconds. I think I just put =[cell]*86400, is that right? I tried that, but since the numbers are registering as hours in the day it doesn't work, it just shows 0:00:00 in the cell with the formula in it.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to convert time data into duration data, then inso seconds?

    Try formatting the cell as
    mm:ss

    Or [hh]:mm:ss if the time will go over 1 hour.

    Then to convert it to pure seconds, multiply it by 86400 and format the cell as a number instead of a time.
    86400 = 60*60*24, which represents 60 seconds in a minute, 60 minutes in an hour, 24 hours in a day

  3. #3
    Registered User
    Join Date
    06-20-2014
    Location
    Minneapolis, MN
    MS-Off Ver
    MS Excel 2010
    Posts
    2

    Re: How to convert time data into duration data, then inso seconds?

    I formatted the cells how you suggested, but it still showed up as a time and not duration. But I found that that didn't matter since I changed the format in the other cells to numbers and it displayed the seconds instead of 0:00:00. Thank you!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to convert time data into duration data, then inso seconds?

    Duration is a tricky thing for excel. It doesn't really understand it 100%
    Technically what it does is count hours/minuts/seconds from the date Midnight Jan 0 1900

    So say 50 hours, 30 minutes would actually be considered Jan 2nd 1900 @ 2:30 AM

    Formatting the cell as mm:ss will hide the time from your eyes as you look at the cell.
    But it will always be there in the formula bar.

+ 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 call time duration to seconds
    By anilaa88 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-25-2013, 05:27 PM
  2. Convert time to decimal seconds
    By Gra1 in forum Excel General
    Replies: 2
    Last Post: 08-16-2011, 07:32 PM
  3. How to convert time into seconds.
    By mangesh in forum Excel General
    Replies: 3
    Last Post: 06-26-2006, 07:25 PM
  4. [SOLVED] Convert time to all seconds
    By glenlee in forum Excel General
    Replies: 2
    Last Post: 03-12-2005, 12:07 PM
  5. [SOLVED] Convert seconds to time
    By Tod in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-10-2005, 08: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