Skip to main content

ARRAYTOTEXT function

The ARRAYTOTEXT function is one of the text and data functions. It is used to return a range of data as a text string.

Syntax​

ARRAYTOTEXT(array, [format])

The ARRAYTOTEXT function has the following arguments:

ArgumentDescription
arrayThe range of data to return as text.
formatAn optional argument. The possible values are listed in the table below.

The format argument can be one of the following:

FormatExplanation
0The values in the text string will be separated by comma (set by default).
1To enclose each text value in double quotes (except for numbers, true/false values and errors), to use a semicolon as a delimiter and to enclose the whole text string in curly braces.

Notes​

How to apply the ARRAYTOTEXT function.

Examples​

The figure below displays the result returned by the ARRAYTOTEXT function.

ARRAYTOTEXT Function