Difference between revisions of "FR/Documentation/Calc: fonction ESTERREUR"
From Apache OpenOffice Wiki
< FR | Documentation
(New page: __NOTOC__ == ESTERREUR == Test n'importe quelle valeur d'erreur === Syntax: === <tt>'''ISERROR(value)'''</tt> :Returns <tt>'''TRUE'''</tt> if <tt>'''value'''</tt> refers to or evaluate...) |
m (→Syntax:) |
||
Line 4: | Line 4: | ||
Test n'importe quelle valeur d'erreur | Test n'importe quelle valeur d'erreur | ||
− | === | + | === Syntaxe : === |
− | <tt>''' | + | <tt>'''ESTERREUR(valeur)'''</tt> |
− | : | + | :Renvoie <tt>'''VRAI'''</tt> si <tt>'''valeur'''</tt> réfère à ou évalue n'importe quelle valeur d'erreur, incluant <tt>'''#N/A'''</tt>, et <tt>'''FAUX'''</tt> sinon. |
− | : | + | :Utilisez la fonction <tt>'''ESTERR'''</tt> pour tester n'importe quelle valeur d'erreur <u>excepté</u> <tt>'''#N/A'''</tt>. |
=== Example: === | === Example: === |
Revision as of 15:13, 31 July 2008
ESTERREUR
Test n'importe quelle valeur d'erreur
Syntaxe :
ESTERREUR(valeur)
- Renvoie VRAI si valeur réfère à ou évalue n'importe quelle valeur d'erreur, incluant #N/A, et FAUX sinon.
- Utilisez la fonction ESTERR pour tester n'importe quelle valeur d'erreur excepté #N/A.
Example:
ISERROR(SQRT(-1))
- returns TRUE, because taking the squareroot of -1 is an error.
ISERROR(C5)
- where C5 contains 123, returns FALSE, because 123 is not an error.
ISERROR(NA())
- returns TRUE, because NA() returns the #N/A error.
See also:
ISERR function, ISNA function, NA function
Issues:
- CHOOSE(0;"A";"B";"C";"D") returns Err:502 (correctly - the index is out of range) but ISERROR(CHOOSE(0;"A";"B";"C";"D")) also returns Err:502, rather than TRUE. The error is propagated rather than evaluated.