Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default How to calcuate the difference between two times in tenths of a mi

I need to calculate the difference between two times and have the result
displayed in hours and tenths of the remaining minutes.

Example 1:
Time 1: Time 2: Result:
4:00 pm 8:30 pm 4.5

Example 2:
Time 1: Time 2: Result:
6:00 pm 10:45 pm 4.75


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default How to calcuate the difference between two times in tenths of a mi

Time1 in Column A - Time2 in ColumnB,
Format ColumnC to General or Number,

Try this in C1, and copy down as needed.

The MOD() function is used so that your times can cross midnight and still
calculate correctly.

=MOD(B1-A1,1)*24


--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Mike" wrote in message
...
I need to calculate the difference between two times and have the result
displayed in hours and tenths of the remaining minutes.

Example 1:
Time 1: Time 2: Result:
4:00 pm 8:30 pm 4.5

Example 2:
Time 1: Time 2: Result:
6:00 pm 10:45 pm 4.75



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
Difference between two times Jester Excel Discussion (Misc queries) 4 August 31st 06 01:36 PM
Difference in two times over days SouthAfricanStan Excel Worksheet Functions 1 May 5th 06 07:08 AM
Calculate difference (mins) between 2 Times Max Excel Worksheet Functions 6 October 11th 05 07:50 AM
HOURS DIFFERENCE IN TIME BETWEEN DIFFERENT DATES AND TIMES tankerman Excel Worksheet Functions 1 September 13th 05 04:31 PM
Difference in Times bcbjork Excel Discussion (Misc queries) 6 August 27th 05 03:42 PM


All times are GMT +1. The time now is 12:09 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"