time calculations

Lynton

New Member
Joined
Mar 13, 2011
Messages
28
I have a simple spreadsheet that has columns of distance in miles ie 1.97
and a permited speed in mph ie 30 Mph I want to calculate in the next column the time required to travel that distance and that time rounded up to the whole minute. 1.97m @30mph = 4 mins etc. i have tried many different solutions but cant get it to work. I have tried to alter the format of the cells but cant just get it. any help apreciated.
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Welcome to the board!

Try

=CEILING(1.97/720,"00:01")

Cell formatted as time.
 
Upvote 0
Just in case you're now trying to figure out how to adapt that to other figures, the principal is

=CEILING(distance/(speed limit*24),"00:01")

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top