Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am using the following formula to calculate the time to travel a given
distance at a given speed: =sum (c2/70) where c2 is the distance and 70 is the speed. The result I get gives me the time in hours only e.g. 1.50 which is 1hr 30mins. I can display this in hrs and mins in another column by using =TEXT(F2/24,"[h]:mm") However can I "add to" or "combine with" the original formula "Dist/Speed" to get the result to display in hours and minutes in one column; withour having to using another column & formula to do so. Currently I am putting the distance in one column and then displaying the time in another column using "dist/speed". I am not putting the speed in a column. Thanks for any help rbc -- Regards rbc |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try:
=SUM(C2/70)/24 formatted as [hh]:mm Regards Trevor "rbc" wrote in message ... I am using the following formula to calculate the time to travel a given distance at a given speed: =sum (c2/70) where c2 is the distance and 70 is the speed. The result I get gives me the time in hours only e.g. 1.50 which is 1hr 30mins. I can display this in hrs and mins in another column by using =TEXT(F2/24,"[h]:mm") However can I "add to" or "combine with" the original formula "Dist/Speed" to get the result to display in hours and minutes in one column; withour having to using another column & formula to do so. Currently I am putting the distance in one column and then displaying the time in another column using "dist/speed". I am not putting the speed in a column. Thanks for any help rbc -- Regards rbc |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=text(c2/70/24,"[h]:mm") combines the calculation of distance over speed with
the conversion from decimal hours to a display of time. "rbc" wrote: I am using the following formula to calculate the time to travel a given distance at a given speed: =sum (c2/70) where c2 is the distance and 70 is the speed. The result I get gives me the time in hours only e.g. 1.50 which is 1hr 30mins. I can display this in hrs and mins in another column by using =TEXT(F2/24,"[h]:mm") However can I "add to" or "combine with" the original formula "Dist/Speed" to get the result to display in hours and minutes in one column; withour having to using another column & formula to do so. Currently I am putting the distance in one column and then displaying the time in another column using "dist/speed". I am not putting the speed in a column. Thanks for any help rbc -- Regards rbc |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks very much to both - I almost had it myself, just couldn't get it
right. You have been a big help. -- Regards rbc "Trevor Shuttleworth" wrote: Try: =SUM(C2/70)/24 formatted as [hh]:mm Regards Trevor "rbc" wrote in message ... I am using the following formula to calculate the time to travel a given distance at a given speed: =sum (c2/70) where c2 is the distance and 70 is the speed. The result I get gives me the time in hours only e.g. 1.50 which is 1hr 30mins. I can display this in hrs and mins in another column by using =TEXT(F2/24,"[h]:mm") However can I "add to" or "combine with" the original formula "Dist/Speed" to get the result to display in hours and minutes in one column; withour having to using another column & formula to do so. Currently I am putting the distance in one column and then displaying the time in another column using "dist/speed". I am not putting the speed in a column. Thanks for any help rbc -- Regards rbc |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks to both - everything works fine now.
-- Regards rbc "Trevor Shuttleworth" wrote: Try: =SUM(C2/70)/24 formatted as [hh]:mm Regards Trevor "rbc" wrote in message ... I am using the following formula to calculate the time to travel a given distance at a given speed: =sum (c2/70) where c2 is the distance and 70 is the speed. The result I get gives me the time in hours only e.g. 1.50 which is 1hr 30mins. I can display this in hrs and mins in another column by using =TEXT(F2/24,"[h]:mm") However can I "add to" or "combine with" the original formula "Dist/Speed" to get the result to display in hours and minutes in one column; withour having to using another column & formula to do so. Currently I am putting the distance in one column and then displaying the time in another column using "dist/speed". I am not putting the speed in a column. Thanks for any help rbc -- Regards rbc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
unhide menu bar in excel - just disappeared | Setting up and Configuration of Excel | |||
How do I get Excel to display a negative value for time? | Charts and Charting in Excel | |||
Excel should format time down to the hundredth/sec. | Excel Discussion (Misc queries) | |||
I don't want to display any controls in excel. | Excel Discussion (Misc queries) | |||
Excel sheet for workout jogging time and graph | New Users to Excel |