Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Help - Problem with date precission

Hi Guys,

now that my project is done I find another issue :(

I subtract 2 dates to get the duration in hours that has passed in
between:

AL2: 14:20:00 - 28 Sep 2005
AL5: 12:20:00 - 03 Oct 2005

This formula:

=$AL$2-$AL$5

yields this result:

118:00:00

which is correct.

Then I compare this value to a cell where I write 118:00:00.


=IF(AL$27AM$27,1,0)

The problem is that the duration it calculated is different. Although
they both say 118:00:00 the calcualted is different which you can see
if you make it a number with 10 digits...

Is there any way to correct this? or force it to round dates?

Matt

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Help - Problem with date precission

I fixed it .. Sorry guys. I dont know why it is but usually I spent an
hour thinking into the problem and as soon i post a question the answer
pops up in fornt of my mental eye ..

:) Matt

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
Exel increment date problem wrt todays date. [email protected] Excel Worksheet Functions 1 November 11th 07 06:58 PM
Date Formula Problem - Leave date blank if Null Gayla Excel Worksheet Functions 5 April 24th 07 09:42 PM
Date problem cfi Excel Discussion (Misc queries) 0 February 1st 06 08:12 PM
'Date' problem comotoman Excel Discussion (Misc queries) 2 October 7th 05 08:14 PM
Date Problem Subs New Users to Excel 1 September 27th 05 01:35 AM


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