+ Reply to Thread
Results 1 to 8 of 8

calculating time to go a set distance

Hybrid View

akolln calculating time to go a set... 12-14-2007, 09:40 AM
arthurbr Welcome to the board... 12-14-2007, 10:02 AM
akolln Thanks arthurbr!!! it worked... 12-14-2007, 10:53 AM
arthurbr You're welcome 12-14-2007, 11:03 AM
EdMac my corrected solution - for... 12-14-2007, 11:19 AM
akolln Thanks EdMac that helps too.... 12-14-2007, 03:55 PM
EdMac akolln ... 12-15-2007, 12:34 PM
EdMac Hi Try this ... 12-14-2007, 10:04 AM
  1. #1
    Registered User
    Join Date
    12-14-2007
    Posts
    3

    calculating time to go a set distance

    I'm doing a spreadsheet that calculates how much time it takes to go 1 mile at different speeds
    1 (mile) is in cell E1
    25mph is in cell A28

    E1/A28*60 is the formula in cell B28

    e.g. 1 mile/25 mph*60= 2.4 minutes
    .4 *60 = 24 seconds 25mph = 2 min 24 sec

    The .4 is a separate calculation

    How can I calculate just the .4 in one formula in that cell? (B28)or
    How can I bring just the .4 in a different cell (C28) to be calculated?

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Welcome to the board
    Dividing 2.4 by 1440 and formatting as mm:ss gives 02:24

    HTH

  3. #3
    Registered User
    Join Date
    12-14-2007
    Posts
    3
    Quote Originally Posted by arthurbr
    Welcome to the board
    Dividing 2.4 by 1440 and formatting as mm:ss gives 02:24

    HTH

    Thanks arthurbr!!! it worked perfectly thanks alot

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    You're welcome

  5. #5
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    my corrected solution - for what it's worth!

    =INT(E1/B28*60)&"min "&MOD(E1/B28*60,INT(E1/B28*60))*60&"secs"
    Ed

  6. #6
    Registered User
    Join Date
    12-14-2007
    Posts
    3
    Quote Originally Posted by EdMac
    my corrected solution - for what it's worth!

    =INT(E1/B28*60)&"min "&MOD(E1/B28*60,INT(E1/B28*60))*60&"secs"
    Ed

    Thanks EdMac that helps too. But how do I only get 2 decimal places for my seconds now. It comes up with E.G 2 min 27.2727272727272 how do I round it to 27 min 27 seconds?

  7. #7
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    akolln

    =INT(E1/B28*60)&"min "&round(MOD(E1/B28*60,INT(E1/B28*60))*60,0)&"secs"
    Not tested but should do it

    Ed

  8. #8
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi

    Try this

    =INT(E1/B28*60)&"min "&MOD(E1/B28*60,60)&"secs"
    Ed

    Ooops just noticed a mistake - but as you have a solution will leave for now.

    Ed
    Last edited by EdMac; 12-14-2007 at 10:58 AM.

+ 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