+ Reply to Thread
Results 1 to 4 of 4

two decimals into seconds

  1. #1
    Registered User
    Join Date
    05-16-2008
    Posts
    6

    Post two decimals into seconds

    Hey i've been stuck on this for a while.. dont know if its possible.

    I always need to turn min.sec into seconds eg. 2.14 = 194 seconds

    i have been using 3 cells

    Min | Sec | Seconds
    2 14 =min*60+Sec

    i was wondering if it possible to get a number with 2 decimal places into seconds.

    any ideas?

    Thankx
    -BaitRock

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    If A1 holds a time in m.ss format

    =60*INT(A1)+100*MOD(A1,1)

    will return the number of seconds

    1.2 >> 80 seconds
    1.02 >> 62 seconds
    2.14 >> 134 seconds
    3.14 >> 194 seconds
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    05-16-2008
    Posts
    6
    Thankx Mate.. that helps heaps.. I been tryin to figure that out for aaaages.

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    You're welcome.

    I'm going to move this thread to the Excel Worksheet Functions sub-forum.
    Excel Programming is focused on VBA rather than spreadsheet formulas.

    I'm glad I could help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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