LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Time Calculation returning 19:00

Difficult to answer without knowing what values are actually in X1/W1 when
you are getting th 19:00 result.

In the meantime, I think you can simplify your formula to:
=IF(W1="","w1 empty",IF(W1<X1,X1-W1,""))
or (to put it more like yours is now)
=IF(W1="","",IF(W1<X1,X1-W1,""))

"default time to PM after 12:00 pm" wrote:

I'm trying to calculate the hh:mm difference between two cells and asking to
do nothing if W1 is blank. Why am I getting 19:00 as a value from a
calculation of:

=IF(W1<X1,X1-W1,IF(W1="","",IF(W1X1,"","")))

 
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
Returning calculation status Phil H Excel Worksheet Functions 1 August 14th 08 06:03 PM
returning calculation based on number byrddog75 Excel Worksheet Functions 3 July 8th 08 05:09 PM
Stop time - start time calculation squack21 Excel Worksheet Functions 5 December 10th 07 03:20 PM
Nested If statements returning a sum calculation arkage Excel Worksheet Functions 1 April 20th 07 08:59 PM
Time calculation (Subraction of Idle Time) Ajay Excel Discussion (Misc queries) 6 March 4th 07 11:54 AM


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