[]
The ARRAYTOTEXT function returns an array of text values from any specified range. It passes text values unchanged, and converts non-text values to text.
ARRAYTOTEXT(array, [format])
This function has these arguments:
Argument | Description |
|---|---|
array | [Required] The range or array to return as text. |
format | [Optional] The format of the returned data. It can be one of two values:
|
The ARRAYTOTEXT function does not support 3D references such as =Sheet2:Sheet3!A1:C3; otherwise, it will return a #VALUE! error.
If the format argument is a number or string greater than or equal to 0 and less than 1, it is treated as 0; if it is greater than or equal to 1 and less than 2, it is treated as 1.
If the format argument is TRUE, it is treated as 1; if FALSE, it is treated as 0.
If the format argument is a string type, unless its value is greater than or equal to 0 and less than 2, the formula will return a #VALUE! error.
If the format argument itself is of an error type (for example, =ARRAYTOTEXT("aaa", #DIV/0!)), or if the argument causes an error during calculation (for example, =ARRAYTOTEXT("aaa", 10/0) ), the final result will display as an error type and will not be converted to text.
