Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,388
Default =IF((OR(B11="",B10="")),0,IF((B11<B10),((B11-B10)*24)+24,(B11-B10

This is from a time sheet download. I am trying to figure out how this
statement works.
  #2   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default =IF((OR(B11="",B10="")),0,IF((B11<B10),((B11-B10)*24)+24,(B11-B10

If either B11 or B10 is blank, set the value of the cell to zero
Otherwise, if B11 is less than B10 set the value of the cell to .....

I could expand on this, but the formula was cut off in the subject line.

--
Les Torchia-Wells


"Dave" wrote:

This is from a time sheet download. I am trying to figure out how this
statement works.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default =IF((OR(B11="",B10="")),0,IF((B11<B10),((B11-B10)*24)+24,(B11-B10

Dave,

The formula you've put in the subject looks clipped so this may not be
everything, but basically:

If B11 Or B10 are empty the result is 0 and the rest of the formula is
ignored.

If B11 Or B10 contain any value at all then another condition is tested:
If B11 < B10 then the result will be ((B11 - B10) * 24) + 24
If B11 B10 then the result will be B11 - B10

Hope that helps

Best regards

John


"Dave" wrote in message
...
This is from a time sheet download. I am trying to figure out how this
statement works.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default =IF((OR(B11="",B10="")),0,IF((B11<B10),((B11-B10)*24)+24,(B11-B10

.....Sorry revise the second part to:

If 'both' B11 and B10 contain any value at all then another condition is
tested:
If B11 < B10 then the result will be ((B11 - B10) * 24) + 24
If B11 B10 then the result will be B11 - B10

.....must read the question:)

"John" wrote in message
...
Dave,

The formula you've put in the subject looks clipped so this may not be
everything, but basically:

If B11 Or B10 are empty the result is 0 and the rest of the formula is
ignored.

If B11 Or B10 contain any value at all then another condition is tested:
If B11 < B10 then the result will be ((B11 - B10) * 24) + 24
If B11 B10 then the result will be B11 - B10

Hope that helps

Best regards

John


"Dave" wrote in message
...
This is from a time sheet download. I am trying to figure out how this
statement works.





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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son[_2_] Excel Programming 2 March 5th 06 12:20 PM


All times are GMT +1. The time now is 12:27 AM.

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"