Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calculating the difference between hours


Hi,

Where pls !!



Waiting
SAMI :confused

--
Sambus
-----------------------------------------------------------------------
Sambusa's Profile: http://www.excelforum.com/member.php...fo&userid=1496
View this thread: http://www.excelforum.com/showthread.php?threadid=26588

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Calculating the difference between hours

I don't see a question here. If you want to work with time values, the
thing to remember is that Excel date/time values are stored as formatted
numbers with the integer part representing the number of days since the
beginning of 1900, and the fractional part representing the time of day
(as a decimal fraction of 24 hours). Thus 8:30 AM is stored as
8.5/24 = 0.354166666666667

When formatted as a time, 0.354166666666667 displays as 8:30 AM. When
formatted as a date/time, it displays as 1/0/1900 8:30:00 AM. When
formatted as a number, 10/18/2004 8:30:00 AM displays as 38278.3541666667.

Thus if you want to get the difference between times, you should make
sure that the dates (if present) are appropriate. If times are input
without dates, then you won't have to worry about it unless the times
actually represent different days. Assuming that the dates are either
appropriate or irrelevant, then =(timeEnd-TimeStart)*24 formatted as a
number gives the number of hours between the two times.

Jerry

Sambusa wrote:

Hi,

Where pls !!



Waiting
SAMI


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Calculating the difference between hours

If you intended that message for me, asking where to send your file, my email
address was in the message.


On Mon, 18 Oct 2004 02:35:17 -0500, Sambusa
wrote:


Hi,

Where pls !!



Waiting
SAMI


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 the difference between hours Sambusa[_28_] Excel Programming 0 October 17th 04 08:29 AM
Calculating the difference between hours Sambusa[_15_] Excel Programming 4 October 7th 04 10:08 PM
Calculating the difference between hours Sambusa[_19_] Excel Programming 0 October 7th 04 06:55 PM
Calculating the difference between hours Sambusa[_14_] Excel Programming 1 October 6th 04 05:14 PM
Calculating the difference between hours Sambusa[_8_] Excel Programming 1 October 6th 04 04:42 PM


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