+ Reply to Thread
Results 1 to 8 of 8

calculating time to go a set distance

  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
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi

    Try this

    Please Login or Register  to view this content.
    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.

  4. #4
    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

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

  6. #6
    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!

    Please Login or Register  to view this content.
    Ed

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

    Please Login or Register  to view this content.
    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?

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

    Please Login or Register  to view this content.
    Not tested but should do it

    Ed

+ 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