Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Journey time calculator

I need to calculate journey time and display in hours and minutes.

A1 = 50 (for mph), A2 = 75 (for miles), A3 to display 1:30 (time in hours &
minutes) not 1.5 as it does in straight calculation.

Help please...

Many Thanks

SGC

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Journey time calculator

In A3:

=A2/A1/24, format as Time

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Steve Crowther" wrote in message
...
| I need to calculate journey time and display in hours and minutes.
|
| A1 = 50 (for mph), A2 = 75 (for miles), A3 to display 1:30 (time in hours &
| minutes) not 1.5 as it does in straight calculation.
|
| Help please...
|
| Many Thanks
|
| SGC
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Journey time calculator

I think this is far too complicated but it works. Note it is a helper cell
looking at the answer of 1.5 in A3. A3 must be formatted as a number to 2
decimal places

=INT(A3)&"HR "&INT(60*(A3-INT(A3)))&"Minutes"

"Steve Crowther" wrote:

I need to calculate journey time and display in hours and minutes.

A1 = 50 (for mph), A2 = 75 (for miles), A3 to display 1:30 (time in hours &
minutes) not 1.5 as it does in straight calculation.

Help please...

Many Thanks

SGC

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Journey time calculator

Thanks to both Niek and Mike.

I wish I had a brain.

SGC



"Mike" wrote:

I think this is far too complicated but it works. Note it is a helper cell
looking at the answer of 1.5 in A3. A3 must be formatted as a number to 2
decimal places

=INT(A3)&"HR "&INT(60*(A3-INT(A3)))&"Minutes"

"Steve Crowther" wrote:

I need to calculate journey time and display in hours and minutes.

A1 = 50 (for mph), A2 = 75 (for miles), A3 to display 1:30 (time in hours &
minutes) not 1.5 as it does in straight calculation.

Help please...

Many Thanks

SGC

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
Pop up calculator possible ? ORLANDO VAZQUEZ[_2_] Excel Discussion (Misc queries) 2 March 24th 09 08:31 PM
Integrated calculator in excel 07 instead of separate calculator Wayne Excel Programming 1 July 26th 06 04:16 PM
how do i use the calculator at the same time i am using excell jimmy Setting up and Configuration of Excel 1 May 3rd 06 02:55 AM
How to audit and edit Excell files on the journey? Dmitry Kopnichev Excel Discussion (Misc queries) 19 October 7th 05 06:17 AM
calculator Colin2u Excel Discussion (Misc queries) 4 August 20th 05 02:08 PM


All times are GMT +1. The time now is 11:51 PM.

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

About Us

"It's about Microsoft Excel"