Difference between revisions of "Manuals/calci/AND"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"><font face="Times New Roman"> </font> AND (L1, L2 ...) Where L1, L2''' …'''   are positive integers.  </di...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"><font face="Times New Roman"> </font>
+
<div style="font-size:30px">'''AND(L1, L2 ...)'''</div><br/>
 +
 
 +
*L1,L2... are positive integers.
 +
 
 +
==Description==
 +
*This function gives the statement TRUE or FALSE.
 +
*AND function is calculating our arguments to logical values such as TRUE or FALSE.
 +
*In AND(L1,L2,...), if all the values of the arguments are TRUE, the function returns TRUE, otherwise FALSE.
 +
*If any one of the argument is false, then the function returns FALSE.
 +
*Any text or any empty cells are in the referred argument, then those values are ignored.
 +
*Suppose in the referred array contains no logical values, then this function will give the result as error.
 +
*Here the arguments L1 is required. L2,L3... are optional.
 +
 
 +
 
 +
*And is a function which returns as 1(TRUE) when all its arguments are 1 (TRUE). If one or more argument is 0(FALSE), then AND is calculated as 0(FALSE).
 +
 
 +
If both the logical values are 1(TRUE), then AND value also should be 1 and either of the logical value is 0(FALSE), then the AND value is 0
 +
 
 +
 
 +
 
 +
==Examples==
 +
AND(TRUE,TRUE)=TRUE
 +
AND(FALSE,FALSE)=FALSE
 +
AND(2+3<10,-4-5<0)=TRUE
 +
AND(1/2=0.5,1*-2=2)=FALSE
 +
AND(a+b=c,d+e=f)=NAN, because L1,L2 are not a logical  values
 +
70
 +
150
 +
AND(50<A1,A1<125)=TRUE, because 70 is lies between 50 and 125
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
  
AND (L1, L2 ...)
 
  
Where L1, L2''' …'''   are positive integers.
 
  
 </div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left"><font size="3"><font face="Times New Roman"> And is a function which returns as 1(TRUE) when all its arguments are 1 (TRUE). If one or more argument is 0(FALSE), then AND is calculated as 0(FALSE).</font></font></div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">   If both the logical values are 1(TRUE), then AND value also should be 1 and either of the logical value is 0(FALSE), then the AND value is 0</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
AND
 
  
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left"><font size="3"><font face="Times New Roman"> Lets see an example
 
  
 
AND (L)
 
AND (L)
  
<nowiki>=AND (1,1) is 1 ie, TRUE and =AND(1,0) is 0. ie, FALSE</nowiki>
+
=AND (1,1) is 1 ie, TRUE and =AND(1,0) is 0. ie, FALSE
  
 
B
 
B
Line 29: Line 53:
 
110
 
110
  
''' '''
+
=AND(1&lt;B3,B3&lt;100) is 1(TRUE)
 
 
<nowiki>=AND(1&lt;B3,B3&lt;100) is 1(TRUE)</nowiki>
 
 
 
<nowiki>=IF(AND(1&lt;B4,B4&lt;100, B4, "The value is out of range.") is out of range</nowiki>
 
 
 
</font></font></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| class="  " | Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 1
 
| class="sshl_f" | 0
 
| class="                                                                                    " |
 
|
 
|- class="even"
 
| class="  " | Row2
 
| 55
 
| class="                                                                        sshl_f  " |
 
| class="                  " |
 
|
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | 110
 
| class="SelectTD" |
 
| class=" " |
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f" | 1
 
|
 
| class="    " |
 
|
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" | The value is out of range.
 
|
 
| class=" " |
 
|
 
|- class="even"
 
| Row6
 
| class="sshl_f" |
 
|
 
| class=" sshl_f" |
 
|
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
=IF(AND(1&lt;B4,B4&lt;100, B4, "The value is out of range.") is out of range
----
 

Revision as of 04:20, 29 November 2013

AND(L1, L2 ...)


  • L1,L2... are positive integers.

Description

  • This function gives the statement TRUE or FALSE.
  • AND function is calculating our arguments to logical values such as TRUE or FALSE.
  • In AND(L1,L2,...), if all the values of the arguments are TRUE, the function returns TRUE, otherwise FALSE.
  • If any one of the argument is false, then the function returns FALSE.
  • Any text or any empty cells are in the referred argument, then those values are ignored.
  • Suppose in the referred array contains no logical values, then this function will give the result as error.
  • Here the arguments L1 is required. L2,L3... are optional.


  • And is a function which returns as 1(TRUE) when all its arguments are 1 (TRUE). If one or more argument is 0(FALSE), then AND is calculated as 0(FALSE).

If both the logical values are 1(TRUE), then AND value also should be 1 and either of the logical value is 0(FALSE), then the AND value is 0


Examples

AND(TRUE,TRUE)=TRUE AND(FALSE,FALSE)=FALSE AND(2+3<10,-4-5<0)=TRUE AND(1/2=0.5,1*-2=2)=FALSE AND(a+b=c,d+e=f)=NAN, because L1,L2 are not a logical values 70 150 AND(50<A1,A1<125)=TRUE, because 70 is lies between 50 and 125








AND (L)

=AND (1,1) is 1 ie, TRUE and =AND(1,0) is 0. ie, FALSE

B

55

110

=AND(1<B3,B3<100) is 1(TRUE)

=IF(AND(1<B4,B4<100, B4, "The value is out of range.") is out of range