View Single Post
  #4  
Old June 3rd, 2010, 01:21 PM posted to microsoft.public.excel.misc
Steve Dunn
external usenet poster
 
Posts: 192
Default convertion formula for (min/mile) to (mile/hr)

20:00:00 represents 20 hours, not 20 mins, try entering 0:20 instead, then
you'll find that Bob's formula is correct. It works because times are
stored as fractions of a day, so 00:20 is stored/calculated as the value
0.013888... (it is shown as 00:20 for human convenience) so it needs to be
multiplied by 24 (hours) and 60 (mins) to equal 20 before you do the
calculation you would expect to work, i.e. 60/20. The N() stops Excel from
automatically formatting the cell as time (because it recognises that a time
was involved in the calculation).

Once all that is understood (or if your just not interested in it), you can
simplify the formula:

=n(1/(A1*24))

HTH
Steve D.



"Run 4fun" Run wrote in message
...
I'm tring to set up a running log on excel and I want to create a formula
that converts my road pace (minutes/ mile) to a speed (miles / hr) so I
can
enter that number on my treadmill. Sounds simple but the formulas I've
tried
are giving me false results. Example: Walk 1 mile in 20min gives you a
pace
of 20:00:00 and a speed of 3MPH. (60/20=3), but when I make the formula I
get
answers like 0.1, 72, or 0