# Miles Per Hour calculation

##### New Member
This is a stupid question-but I want a spread sheet that i can enter miles in column a and time in column b and get an average miles/hr in column c. (the hours have to be in the format h:mm:ss) and the miles can be in number format.

### Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

#### cherria

##### Well-known Member
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)

Replies
2
Views
132
Replies
6
Views
394
Replies
14
Views
284
Replies
1
Views
185
Replies
4
Views
166

1,127,093
Messages
5,622,655
Members
415,917
Latest member
kungsleden

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back