LibreOffice SymbolLibreOffice Symbol

Please support us!

ARRAYTOTEXT

Returns a cell range or array as one text string, taking the range and an optional format number.

Sintaxis

Array: The range or array to return as text.

Format: The format of the returned text, as follows:

A number retains its input text while ignoring cell formatting. A boolean displays as TRUE or FALSE in the current locale. An empty cell contributes nothing. In a range, an error is listed as its error text, whereas a reference to a single error cell returns that error. Date values return the internal date number.

Exemplos

The following table is used as example:

A

B

1

TRUE

Rio de Janeiro

2

123.45600

$1,234.68

3

¡Hola, mundu!

#¡DIV/0!

4

Monday, August 3, 2026


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

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

Información téunica

Iconu de conseyu

Esta función ta disponible dende la versión 27.2 de LibreOfficeDev.


This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.4. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.ARRAYTOTEXT