Jump to content

Frequently asked questions - Calc

From The Document Foundation Wiki
< Faq | Calc
This page is a translated version of the page Faq/Calc/015 and the translation is 0% complete.
Outdated translations are marked like this.

À quoi correspondent les codes d'erreur (Err : NNN ) dans une feuille de calcul LibreOffice ?

les codes d'erreur
Code d’erreur Texte Explication
#### aucun La cellule n'est pas assez large pour afficher le contenu.
501 Caractère non valable Le caractère n’est pas valide dans le contexte ex :=1¤2 au lieu de =1E2
502 Argument invalide L'argument d'une fonction a une valeur incorrecte ex : une valeur négative pour une fonction racine
503
#NUM !
Opération à virgule flottante incorrecte Exemple : calculs générant un dépassement de la plage de valeurs définie
504 Erreur dans la liste des paramètres Le paramètre d'une fonction est de type non valable, ex : du texte à la place d'un nombre ou une référence à une place de cellules au lieu d'une référence à une cellule
505 Erreur de syntaxe interne Non configuré
506 Point virgule incorrecte Non configuré
507 Erreur : paire manquante Non configuré
508 Erreur : paire manquante Ex : parenthèse de fermeture sans parenthèse ouvrante ou parenthèse de fermeture manquante au milieu de la formule (les parenthèses manquantes à la fin d'une formule sont jointes automatiquement)
509 Opérateur manquant Ex : =2(3+4) opérateur manquant entre 2 et (
510 Variable manquante Deux opérateurs, dont le deuxième n'est pas un opérateur unaire, se suivent ex : =1+*2
511 Variable manquante La fonction requiert davantage de variables que celles saisies, ex ET() et OU() sans paramètres
512 Formule trop longue Compilateur : on entend par là le nombre interne de jetons (512 maximum), celui-ci n'a rien à voir avec la longueur de la chaîne de caractères de la formule indiquée, mais concerne le nombre d'opérateurs, de variables, de parenthèses, etc. Interpréteur : formules qui génèrent trop de matrices à la fois (150 maximum) et fonctions Basic qui recevraient comme paramètre un array trop grand (OxFFE maximum donc 65534 octets)
513 Chaîne de caractères trop longue Compilateur : un identificateur dans la formule comporte plus de 255 caractères. Interpréteur : le résultat d’une opération sur une chaîne de caractères comporte plus de 255 caractères.
514 Dépassement des capacités internes Opérations de tri avec trop de données numériques (100 000 maximum) ou dépassement de la pile de calcul
515 Erreur de syntaxe interne Non configuré
516 Erreur de syntaxe interne La pile de calcul doit contenir une matrice, mais elle n'existe pas
517 Erreur de syntaxe interne Code opération inconnu, par exemple document comportant une nouvelle fonction et chargé avec une ancienne version du logiciel ne disposant pas encore de cette dernière
518 Erreur de syntaxe interne Une variable doit apparaître à partir de la pile de calcul mais elle n'existe pas
519 #VALEUR ! Aucun résultat Une fonction ne peut fournir de valeur correspondant à la définition ou l'une des cellules référencées dans la formule contient du texte au lieu du nombre souhaité
520 Erreur de syntaxe interne Le compilateur a généré un code qu'il ne sait pas interpréter.
521 Erreur de syntaxe interne Aucun résultat dans la pile de calcul.
522 Référence circulaire Une formule fait directement ou indirectement référence à elle-même ; les itérations ne sont pas activées à l'entrée de menu Outils/Options/Classeur/Calculer
523 Le calcul ne converge pas Fonctions statistiques (financières) tendant vers une valeur donnée mais ne l'atteignant pas ou itérations de références en boucle n'arrivant pas à la modification minimale à l'intérieur des incréments maximum définis.
524
#REF !
Référence incorrecte Compilateur : un intitulé de ligne/de colonne n'a pas pu être détecté. Interpréteur : la formule fait appel à une cellule dont la colonne, la ligne ou le tableau a été supprimé ou qui se situe en dehors du tableau.
525
#NOM ?
Nom incorrect Compilateur : le système n'a pas pu activer d'identificateur (pas de référence, pas de nom de section, pas d'intitulé de lignes/de colonnes, pas de macro, etc.) Interpréteur : même chose pour la durée d'exécution, par exemple fonction Basic ou AddIn non trouvée.
526 Erreur de syntaxe interne Est déplacé, n'est plus utilisé mais pourrait provenir d'anciens documents, si le résultat d'une formule était une plage
527 Dépassement des capacités internes Interpréteur : imbrication trop importante des références (la cellule référence la cellule qui référence une cellule, qui référence une cellule, etc.)
532
#DIV/0 !
Division par zéro opérateur de division / si le dénominateur est 0
D'autres fonctions renvoient cette erreur, par exemple :
VAR.P avec moins d'1 argument
ECARTYPEP avec moins d'1 argument
VAR avec moins de 2 arguments
ECARTYPE avec moins de 2 arguments
CENTREE.REDUITE avec ECARTYPE=0
LOI.NORMALE avec ECARTYPE=0
Error codes
TYPEERREUR Cell display

TYPE.ERREUR

Code Status Bar Message Explanation of the error
(Example)
(None)

###

The column is too narrow to display the complete formatted contents of the cell. This is not really an error value, so there is no corresponding numerical error code. The solutions to this problem are to increase the width of the column, or select Format ▸ Cells ▸ Alignment and check either "Wrap text automatically" or "Shrink to fit cell size" in the "Properties" area so as to make the text match the current column width. Other factors are font size, font type and zoom percentage.

(None)

#FMT

This value is outside of the valid limits for this number format. This is not really an error value, so there is no corresponding numerical error code. String for output error. Example: Introduce -1E+16 and then format the cell as Date.

32767

#N/D 7

NotAvailable Value not available

A result for the formula expression is not available. The formula cannot find what it has been asked to look for. This is not really an error value, so there is no corresponding numerical error code. ESTNA() applied to this value will return VRAI. This value is returned by RECHERCHE (and similar) functions which failed, and by NA().

501

IllegalChar Invalid character

Invalid character in formula. Same as the Invalid Name error (525) except that it occurs within a formula. Example: =1¤0 instead of =100; or =1Eq instead of =1E2 (scientific notation).

502

IllegalArgument Invalid argument

An argument of a function has an invalid value. Example: =RACINE(-3). Also occurs if more than one matching cell is found by BDLIRE().

503

#NUM ! 6

IllegalFPOperation Invalid numeric value

Invalid floating point operation. Calculation result outside of the defined value range. A calculation that results in an overflow of the defined value range – a value too big or too small. Example: =1000^500.

504

IllegalParameter Error in parameter list

The type of a parameter of a function is invalid. For instance, a parameter of a function is text instead of a number. Example: =RECHERCHEV(1;0;1) where the second argument is not expected to be a plain number.

505

Internal syntax error

Not configured.

506

Invalid decimal separator

Not configured.

507

Pair Pair missing

Missing bracket or parenthesis.

508

PairExpected In bracketing

Missing bracket or parenthesis. For instance, closing parenthesis without an opening parenthesis, or a missing closing parenthesis in the middle of a formula (missing parentheses at the end of a formula are added automatically). Example: =1).

509

OperatorExpected Operator missing

Example: =2(3+4)*.

510

VariableExpected Variable missing

Two operators, where the second is not a unitary operator, follow each other. Example: =1+*2.

511

1 (LO > 7.6)

ParameterExpected Variable missing

The function requires more variables than those provided. Example: OU() without parameters.

512

CodeOverflow Formula overflow

Formula too long. Compiler: This refers to the internal number of bits (512 maximum), which has nothing to do with the length of the character string in the formula in question, but depends on the number of operators, variables, parentheses, etc. The total number of internal tokens (that is, operators, variables, brackets) in the formula exceeds 8192, or the total number of matrices the formula creates exceeds 150. Interpreter: Formulas which generate too many matrices at once (150 maximum) and Basic functions which receive as parameters an array that is too large (OxFFE maximum is 65534 octets). This includes Basic functions that receive too large an array as a parameter (OxFFE maximum is 65534 octets).

513

StringOverflow String overflow

Character string too long. Compiler: An identifier in the formula exceeds 1024 characters (UTF-16 code points) in size. Interpreter: The result of an operation on a string of characters would exceed (2^28)-1 ((228)-1) characters (UTF-16 code points, so 512MiB) in size. Example: =REPT("1234567890";10^8).

514

StackOverflow Internal overflow

Internal capacity exceeded. An internal calculation stack overflow occurred.

515

UnknownState Internal syntax error

Unknown error.

516

UnknownVariable Internal syntax error

Matrix is expected on the calculation stack, but it is not available. The calculation stack should contain a matrix but it is not there.

517

UnknownOpCode Internal syntax error

Unknown operation code. A document containing a newer feature is loaded in an older version of Calc that did not support that feature.

518

UnknownStackVariable Internal syntax error

Variable not available. A variable was supposed to be popped from the calculation stack but it is not available / not there.

519

#VALEUR ! 3

NoValue No value

No valid result is possible. A function cannot supply a value corresponding to its definition; or a cell referenced in the formula contains text instead of an expected number. Example: ="string"+0.

520

UnknownToken Internal syntactical error

The compiler has generated a code which it cannot interpret. Example: =2*(3+4)*.

521

#NULL ! 1 (LO > 7.6)

NoCode No code or (no) intersection

No code or no intersection (since LibreOffice 7.6; it was set as "Internal syntax error" up until version 7.5 included). The intersection of ranges produced zero cells. Example: =SOMME(A1:A2!B1:B2).

522

CircularReference Circular reference

A formula refers directly or indirectly to itself and the Iterations option is not activated under Tools ▸ Options ▸ LibreOffice Calc ▸ Calculate. Example: =A1 introduced in the same cell.

523

NoConvergence Calculation does not converge

The calculation procedure does not converge. A function missed a targeted value (tends towards a given value but does not reach it), or iterative references do not reach the minimum change within the defined maximum steps (increments) that are set.

524

#REF ! 4

NoRef Not a valid reference

Compiler: a row or column heading could not be detected. Interpreter: the formula refers to a cell whose column, row, or table/worksheet has been deleted or which is outside the table/worksheet. The formula within the cell uses a reference that does not exist. Either a column or a row description name could not be resolved, or the column, row, or worksheet that contains a referenced cell is missing or it is outside the worksheet. Example: See TYPE.ERREUR.

525

#NOM ? 5

NoName Invalid name

An identifier could not be evaluated: no valid reference, no valid function name, no column/row label, no macro, incorrect decimal separator, add-in not found. Example: =bob*5 when there is no cell named "bob".

526

Internal syntax error

Obsolete, no longer used; it may occur in (old) documents loaded in old versions of Calc.

527

Internal overflow

Internal capacity exceeded. Interpreter: Excessive nesting of references (the cell references a cell which references a cell which references a cell which...). References (such as when a cell references another cell...) are too encapsulated or deeply/excessively nested. This is an internal error and should not be displayed in LibreOffice.

528

Not used.

529

CellNoValue

Interpreter, internal: no numeric value but numeric queried.

530

#ADDIN?

NoAddin Add-in not found

Add-In not found.

‍531

#MACRO?

NoMacro Macro not found

Macro not available / not found.

532

#DIV/0 ! 2

DivisionByZero Division by zero

The denominator of a division operation ("/") is 0 (zero). Other functions can also return this error; for example:

  • VARP with less than 1 argument
  • ECARTYPEP with less than 1 argument
  • VAR with less than 2 arguments
  • ECARTYPE with less than 2 arguments
  • CENTREE.REDUITE with stdev=0
  • LOINORMALE with stdev=0
533

NestedArray Nested arrays are not supported.

Example: ={1;{2}}.

534

NotNumericString

Interpreter, internal: no numeric value but numeric queried.

535

JumpMatHasResult

Interpreter, internal: jump matrix already has a result at this position.

536

ElementNaN

Interpreter, internal: (matrix) element is not a numeric value.

537

RetryCircular

Internal: keep dirty, retry interpreting next round.

538

MatrixSize Array or matrix size

Invalid size of Array. The maximum limit for sorting has been exceeded. The limit is twice the maximum number of rows, so for 1 048 576 rows the limit is 2 097 152 entries. Also obtained whenever a temporary matrix could not be allocated due to its size requirement.

539

BadArrayContent Unsupported inline array content

Bad inline array content, non-value/non-string. Example: ={1+2}.

540

LinkFormulaNeedingCheck External content disabled

A function that requires (re)loading of external sources is encountered and the user has not confirmed reloading of external sources yet.

TYPEERREUR Cell display

TYPE.ERREUR

Code Status Bar Message Explanation of the error
(Example)