Difference between revisions of "FR/Documentation/Calc: fonction ET"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: __NOTOC__ == AND == Returns '''TRUE''' if all the arguments are considered '''TRUE''', and '''FALSE''' otherwise. === Syntax: === <tt>'''AND(argument1; argument2 ...argument30)'''</tt> ...)
 
(AND)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
== AND ==
+
== ET ==
Returns '''TRUE''' if all the arguments are considered '''TRUE''', and '''FALSE''' otherwise.
+
Renvoie '''VRAI''' si tous les argument sont considérés '''VRAI''' et '''FAUX''' sinon.
  
=== Syntax: ===
+
=== Syntaxe : ===
<tt>'''AND(argument1; argument2 ...argument30)'''</tt>
+
<tt>'''ET(argument1; argument2 ...argument30)'''</tt>
  
<tt>'''argument1'''</tt> to <tt>'''argument30'''</tt> are up to 30 arguments, each of which may be a logical result or value, or a reference to a cell or range.
+
<tt>'''argument1'''</tt> à <tt>'''argument30'''</tt> représentent jusqu'à 30 arguments, chacun d'eux peut être un résultat logique ou un valeur ou une référence à une cellule ou encore à une plage.
  
 +
<tt>'''ET'''</tt> test chaque valeur (comme un argument ou dans chaque cellule référencée), et renvoie <tt>'''VRAI'''</tt> si elles sont toutes <tt>'''VRAI'''</tt>. Toute valeur qui est '''un nombre différent de 0''' ou '''texte''' est considéré comme  <tt>'''VRAI'''</tt>.
  
<tt>'''AND'''</tt> tests every value (as an argument, or in each referenced cell), and returns <tt>'''TRUE'''</tt> if they are all <tt>'''TRUE'''</tt>. Any value which is a '''non-zero number''' or '''text''' is considered to be <tt>'''TRUE'''</tt>.
+
=== Exemple : ===
 +
Si les cellules A5:B8 contiennent toutes <tt>'''VRAI'''</tt>, la cellule C2 contient <tt>'''=VRAI()'''</tt> et la cellule C3 contient "<tt>'''chien'''</tt>" :
  
=== Example: ===
+
<tt>'''ET(2<4;A5:B8;C2)'''</tt>
 +
: renvoie <tt>'''VRAI'''</tt>.
 +
<tt>'''ET(2<4;FAUX)'''</tt>
 +
: renvoie <tt>'''FAUX'''</tt>.
 +
<tt>'''ET(C2:C3)'''</tt>)
 +
: renvoie <tt>'''VRAI'''</tt>.
  
If cells A5:B8 all contain <tt>'''TRUE'''</tt>, cell C2 contains <tt>'''=TRUE()'''</tt> and cell C3 contains "<tt>'''dog'''</tt>":
+
=== Voir également: ===
 +
'''[[Documentation/FR/Calc:_fonction_OU|Fonction OU]]''',
 +
'''[[Documentation/FR/Calc:_fonction_NON|Fonction NON]]'''
  
<tt>'''AND(2<4;A5:B8;C2)'''</tt>
+
'''[[Documentation/FR/Calc:_Fonctions_logiques|Fonctions logiques]]'''
: returns <tt>'''TRUE'''</tt>.
+
<tt>'''AND(2<4;FALSE)'''</tt>
+
: returns <tt>'''FALSE'''</tt>.
+
<tt>'''AND(C2:C3)'''</tt>)
+
: returns <tt>'''TRUE'''</tt>.
+
 
+
=== See also: ===
+
'''[[Documentation/How_Tos/Calc: OR function|OR function]]''',
+
'''[[Documentation/How_Tos/Calc: NOT function|NOT function]]'''
+
 
+
'''[[Documentation/How_Tos/Calc: Logical functions|Logical functions]]'''
+

Revision as of 10:20, 4 August 2008


ET

Renvoie VRAI si tous les argument sont considérés VRAI et FAUX sinon.

Syntaxe :

ET(argument1; argument2 ...argument30)

argument1 à argument30 représentent jusqu'à 30 arguments, chacun d'eux peut être un résultat logique ou un valeur ou une référence à une cellule ou encore à une plage.

ET test chaque valeur (comme un argument ou dans chaque cellule référencée), et renvoie VRAI si elles sont toutes VRAI. Toute valeur qui est un nombre différent de 0 ou texte est considéré comme VRAI.

Exemple :

Si les cellules A5:B8 contiennent toutes VRAI, la cellule C2 contient =VRAI() et la cellule C3 contient "chien" :

ET(2<4;A5:B8;C2)

renvoie VRAI.

ET(2<4;FAUX)

renvoie FAUX.

ET(C2:C3))

renvoie VRAI.

Voir également:

Fonction OU, Fonction NON

Fonctions logiques

Personal tools