+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Converting 32768 Seconds to [hh]:mm:ss

  1. #1
    Registered User
    Join Date
    08-04-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    2

    Arrow Converting 32768 Seconds to [hh]:mm:ss

    I have made a table which calculates the time difference between different cities using coordinates. I basically take the distance of the hypotenuse and convert it to seconds (based on my rates). I insert those seconds into the time formula like this: TIME(0,0, #). Then I change the cell format to show the time in [hh]:mm:ss. Unfortunately, the times will not convert to [hh]:mm:ss past 32768 seconds. It goes up to just over 9 hours. So, if I have a city 10 hours away, it is showing up as #NUM!. If it were perfect, I'd love for it to just count as many possible hours in the distance, like, 123:22:31 (123 hours, 22 minutes, 31 seconds).

    Any help is greatly appreciated. Thanks!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Converting 32768 Seconds to [hh]:mm:ss

    Welcome to the forum.

    =A1/86400 and format as you wish.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-04-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Converting 32768 Seconds to [hh]:mm:ss

    Here is one example:

    =TIME(0,0,ROUNDDOWN((SQRT((((ABS($D5-$D$4))^2)+((ABS($E5-$E$4))^2))))*$AC$8*$AC$14,0))

    You can see that I'm rounding down the hypotenuse distance between 2 sets of coordinates and multiplying it by my own rates.

    How do I set it up if my 2 sets of coordinates are like 1,1 and 400, 400? In other words, how do I set it up if the distance is greater than 32768 seconds.
    Last edited by jygoehring; 08-04-2011 at 02:44 PM. Reason: Grammar error.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Converting 32768 Seconds to [hh]:mm:ss

    =rounddown(sqrt(( $d5-$d$4)^2 + ($e5-$e$4)^2) * $ac$8 * $ac$14, 0)/86400

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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