Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rbc
 
Posts: n/a
Default Excel - Time display

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Trevor Shuttleworth
 
Posts: n/a
Default Excel - Time display

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default Excel - Time display

=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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rbc
 
Posts: n/a
Default Excel - Time display

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rbc
 
Posts: n/a
Default Excel - Time display

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
unhide menu bar in excel - just disappeared Sean Setting up and Configuration of Excel 12 April 4th 23 10:19 AM
How do I get Excel to display a negative value for time? labrat Charts and Charting in Excel 0 June 7th 06 08:13 PM
Excel should format time down to the hundredth/sec. John Krick Excel Discussion (Misc queries) 3 November 28th 05 09:23 PM
I don't want to display any controls in excel. areddy Excel Discussion (Misc queries) 0 October 31st 05 08:46 AM
Excel sheet for workout jogging time and graph Trevor New Users to Excel 1 March 7th 05 03:54 PM


All times are GMT +1. The time now is 06:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"