+ Reply to Thread
Results 1 to 3 of 3

time question:convert into seconds

  1. #1
    Forum Contributor
    Join Date
    06-23-2007
    Posts
    690

    time question:convert into seconds

    hi gents

    i have a cell with a time which i would like to convert into seconds if anyone could tell me how to do this it would be greatly appreciated

    for example i have a cell which says 4m 41.80s
    and i want the spreadsheet to work this out for me in seconds ie 281.8s

    thanks in advance

  2. #2
    Forum Contributor
    Join Date
    02-23-2005
    Location
    England
    Posts
    110
    Assuming 4m 41.80s is located in Cell A2:

    =(LEFT(A2,FIND("m",A2)-1)*60)+MID(A2,FIND(" ",A2)+1,FIND("s",A2)-FIND(" ",A2)-1)

    Adjust as necessary for other cells.

    Equation assumes you keep the format :
    numbers followed by "m " followed by numbers (with or without decimal fraction) followed by "s". i.e it automatically adjusts for decimal fractions and the number of digits.

  3. #3
    Forum Contributor
    Join Date
    06-23-2007
    Posts
    690
    cheers peter

    thats fantastic much appreciated

+ 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