Aidez-nous !

MATRICETEXTE

Renvoie une plage de cellules ou une matrice sous la forme d’une chaîne de texte, en prenant en compte la plage et un numéro de format facultatif.

The array or cell range is parsed row by row.

Syntaxe

Matrice : la place ou matrice à retourner en texte.

Format : le format du texte renvoyé, comme suit :

Icône Remarque

In LibreOfficeDev Calc, separators are locale-dependent and can be configured under Tools > Options > LibreOfficeDev Calc > Formula > Separators.


Conversion rules:

Exemples

Le tableau suivant est utilisé à titre d'exemple :

A

B

1

TRUE

Rio de Janeiro

2

123.45600

$1,234.68

3

Hello World!

#DIV/0!

4

Monday, August 3, 2026


For en-US locale

When Format = 0, the en-US locale uses commas as function separator.

=ARRAYTOTEXT(A1:B4;0) returns the string TRUE, Rio de Janeiro, 123.456, 123.45, Hello World!, #DIV/0!, , 46237.

When Format = 1, the en-US locale uses commas as column separators, and semicolons as row separators.

=ARRAYTOTEXT(A1:B4;1) returns the string array {TRUE,"Rio de Janeiro";123.456,123.45;"Hello World!",#DIV/0!;,46237}.

Other locales

For example, when Format = 0, the pt-BR locale uses semicolons as function separator.

=ARRAYTOTEXT(A1:B4;0) returns VERDADEIRO; Rio de Janeiro; 123,456; 123,45; Hello World!; #DIV/0!; ; 46237

When Format = 1, the pt-BR locale uses dots as column separators, and semicolons as row separators.

=ARRAYTOTEXT(A1:B4;1) returns {VERDADEIRO."Rio de Janeiro";123,456.123,45;"Hello World!".#DIV/0!;.46237}.

Informations techniques

Icône Astuce

Cette fonction est disponible depuis LibreOfficeDev 27.2.


Cette fonction ne fait PAS partie de la norme Open Document Format for Office Applications (OpenDocument) Version 1.4. Partie 4 : format de formule recalculée (OpenFormula). L'espace de noms est

COM.MICROSOFT.ARRAYTOTEXT