A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditions Not Accurate when subtracting time



 
 
Thread Tools Display Modes
  #1  
Old March 18th, 2010, 07:58 PM posted to microsoft.public.excel.worksheet.functions
sly411
external usenet poster
 
Posts: 8
Default Conditions Not Accurate when subtracting time

When I subtract two times e.g.
b1 is 21:35
a1 is 20:55
the answer shows correctly i.e. 40:00 (using [m]:ss format) but when I set
the condition b1-a115 the answer is FALSE.

How do I subract two times and then check if the result is greater than a
value I specify?
Ads
  #2  
Old March 18th, 2010, 08:03 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Conditions Not Accurate when subtracting time

Hi,

=B1-A1TIME(0,15,0)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"sly411" wrote:

When I subtract two times e.g.
b1 is 21:35
a1 is 20:55
the answer shows correctly i.e. 40:00 (using [m]:ss format) but when I set
the condition b1-a115 the answer is FALSE.

How do I subract two times and then check if the result is greater than a
value I specify?

  #3  
Old March 18th, 2010, 08:26 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default Conditions Not Accurate when subtracting time

=(B1-A1)*144015


"sly411" wrote:

When I subtract two times e.g.
b1 is 21:35
a1 is 20:55
the answer shows correctly i.e. 40:00 (using [m]:ss format) but when I set
the condition b1-a115 the answer is FALSE.

How do I subract two times and then check if the result is greater than a
value I specify?

  #4  
Old March 18th, 2010, 09:18 PM posted to microsoft.public.excel.worksheet.functions
sly411
external usenet poster
 
Posts: 8
Default Conditions Not Accurate when subtracting time

Perfect, thanks

"Mike H" wrote:

Hi,

=B1-A1TIME(0,15,0)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"sly411" wrote:

When I subtract two times e.g.
b1 is 21:35
a1 is 20:55
the answer shows correctly i.e. 40:00 (using [m]:ss format) but when I set
the condition b1-a115 the answer is FALSE.

How do I subract two times and then check if the result is greater than a
value I specify?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.