FormulaCraft

ARRAYTOTEXT

ARRAYTOTEXT returns a text representation of the values in an array or range. In concise mode (0) it produces a readable comma-separated list; in strict mode (1) it wraps text in quotes and separates items with commas, reproducing the array literal syntax used in formulas.

Topic:SaaS metrics
Excel
=ARRAYTOTEXT(A2:A5,0)
Google Sheets
=ARRAYTOTEXT(A2:A5,0)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1Select or define the range you want to convert (e.g., A2:A5 containing fruit names).
  2. 2Enter =ARRAYTOTEXT(A2:A5,0) for a concise comma-separated result like 'Apple, Banana, Cherry, Date'.
  3. 3Use mode 1 for strict format: =ARRAYTOTEXT(A2:A5,1) returns '{"Apple","Banana","Cherry","Date"}', useful when building formula strings.

Need a version for your data?

Try: “Turn a vertical list of names into a single comma-separated text string

More on SaaS metrics

See all →

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: