Please support us!

PURGP‖

qxb7y‖ARRAYTOTEXT

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

MBG7V‖The array or cell range is parsed row by row.

ebLBc‖Syntax

ByCFd‖Array: The range or array to return as text.

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

Note Icon

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


C34Xs‖Conversion rules:

GAZG2‖Examples

nkTbC‖The following table is used as example:

A

B

1

TRUE

Rio de Janeiro

2

123.45600

$1,234.68

3

Hello World!

#DIV/0!

4

Monday, August 3, 2026


BaM5W‖For en-US locale

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

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

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

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

nnEDX‖Other locales

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

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

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

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

XAFa7‖Technical information

Tip Icon

wB7Kb‖This function is available since LibreOfficeDev 27.2.


Gewrf‖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