LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 45
Default Explaination of Logical If Then Statement

On Jul 18, 11:47 am, Mitchell
wrote:
Can anyone explain to me why the following logical statement has the AND
placed at the very beginning of the statement?

=IF(AND($E964="",I964=""),"",IF($E964="",I964,IF($ G964="",I964,MROUND(I964,$G964))))


It's to tell Excel to get to the answer quickly that if both $E964 and
I964 are "", then return a "" and don't bother figuring the rest of
the formula.
 
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
If Statement with Two Different Logical Test Storm Excel Worksheet Functions 16 December 15th 08 07:22 PM
Logical statement for 'contains' ? Singh Excel Discussion (Misc queries) 1 May 16th 08 03:33 PM
IF STATEMENT - HOW TO STRUCTURE THE LOGICAL OPERATORS SSJ New Users to Excel 8 April 9th 07 11:15 AM
Logical Statement Harley Excel Discussion (Misc queries) 1 January 4th 07 02:37 AM
3 logical condition if statement Mikehughes Excel Worksheet Functions 3 July 19th 06 01:59 PM


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