Time is stored as a fraction of a day internally in Excel so if you want to divide by the number of hours, multiply the cell that contains your h:m:s time by 24 to give the number of hours.
So if miles were in A1 and time in B1, c1(miles per hour) would be =A1/(B1*24)