1. Home
  2. Functions
  3. Text
  4. ARRAYTOTEXT

ARRAYTOTEXT function

Returns the values of an array or range as one text.

Syntax

=ARRAYTOTEXT(array, [format])

Arguments

ArgumentRequiredDescription
arrayRequiredThe array or range
formatOptional0 concise (default) or 1 strict, which can be typed back as an array

How to use ARRAYTOTEXT

ARRAYTOTEXT takes 1 required argument and 1 optional argument. Type =ARRAYTOTEXT( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=ARRAYTOTEXT({1,2;3,4})Result "1, 2, 3, 4"
=ARRAYTOTEXT({1,"a";TRUE,4}, 1)Result "{1,"a";TRUE,4}"

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.