#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default calculating time

Hi,

given a departure and arrival date and time, how to calculate the travel
time (in hours)

A B C D
From To
10-Oct 00:05 12-Oct 14:13

Cell E should give the total amount of hours.

Many thanks!

tom


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default calculating time

Subtract the earlier from the later and format the result cell as [h]:mm or
just [h]

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"tom ossieur" wrote in message
...
Hi,

given a departure and arrival date and time, how to calculate the travel
time (in hours)

A B C D
From To
10-Oct 00:05 12-Oct 14:13

Cell E should give the total amount of hours.

Many thanks!

tom




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default calculating time

Problem is that date and time are in different columns

"Bob Phillips" wrote:

Subtract the earlier from the later and format the result cell as [h]:mm or
just [h]

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"tom ossieur" wrote in message
...
Hi,

given a departure and arrival date and time, how to calculate the travel
time (in hours)

A B C D
From To
10-Oct 00:05 12-Oct 14:13

Cell E should give the total amount of hours.

Many thanks!

tom





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default calculating time

So what

=B2-A2

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"tom ossieur" wrote in message
...
Problem is that date and time are in different columns

"Bob Phillips" wrote:

Subtract the earlier from the later and format the result cell as [h]:mm
or
just [h]

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"tom ossieur" wrote in message
...
Hi,

given a departure and arrival date and time, how to calculate the
travel
time (in hours)

A B C D
From To
10-Oct 00:05 12-Oct 14:13

Cell E should give the total amount of hours.

Many thanks!

tom







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
Calculating time increments from dates during working hours S Davis Excel Worksheet Functions 0 October 24th 06 03:32 PM
calculating time T.K.RAJU via OfficeKB.com Excel Discussion (Misc queries) 3 December 27th 05 12:22 PM
help with calculating overtime in a time sheet jongyrocka Excel Discussion (Misc queries) 13 December 10th 05 09:36 PM
Calculating a rate for elapsed time? Keith Excel Discussion (Misc queries) 8 May 18th 05 09:14 PM
Calculating tvl time in Excel 2000 Rev.9.2720 Brandi Excel Worksheet Functions 5 January 27th 05 09:15 PM


All times are GMT +1. The time now is 12:07 AM.

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"