#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Q: Time Difference

Hello,
I need to find the difference between two time value as hours. I have two
cells that keeps the time, so between 8:00am and 9:30am, it means 1.5 hours.
Is this possible?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Q: Time Difference

Since XL stores times as fractional days, one way:

A1: 8:30 am
B1: 9:30 am
C1: =(B1-A1)*24

However, if there's a chance your times may span midnight (when the
fractional day resets to 0), use

C1: =MOD(B1-A1,1)*24



In article ,
JIM.H. wrote:

Hello,
I need to find the difference between two time value as hours. I have two
cells that keeps the time, so between 8:00am and 9:30am, it means 1.5 hours.
Is this possible?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Q: Time Difference

hi,
that is a simple subtraction.
if start time is in A1 and end time is in B1, formula in C1 would be....
=b1-a1

I'm using xp. worked for me.
Regards
FSt1

"JIM.H." wrote:

Hello,
I need to find the difference between two time value as hours. I have two
cells that keeps the time, so between 8:00am and 9:30am, it means 1.5 hours.
Is this possible?

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
Time difference calculations, daylight savings time, Excel Tim Excel Discussion (Misc queries) 1 December 28th 06 04:18 PM
Time Difference Gabe Excel Discussion (Misc queries) 2 December 16th 05 08:41 PM
Negative time should be allowed in Excel, eg time difference Bengt-Inge Larsson Excel Discussion (Misc queries) 2 October 13th 05 12:59 PM
Time zone Time difference mac_see Excel Worksheet Functions 0 May 3rd 05 07:57 PM
Time / Formula to look at time difference carl Excel Worksheet Functions 5 November 8th 04 06:59 PM


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