ARRAYTOTEXT Function

Turns a range or array into a single piece of text.

Category

Text

Available in

Microsoft 365, Excel 2024

Returns

Text

Want to practice ARRAYTOTEXT in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

Overview

ARRAYTOTEXT squeezes a whole range into one cell of text. Concise format gives a comma-separated list; strict format gives an array constant in braces you can paste into a formula.

It's a quick way to see what a spilled formula is returning, or to build lists for emails and notes.

Syntax

=ARRAYTOTEXT(array, [format])

Arguments

ArgumentRequired?What it does
arrayYesThe range or array to convert.
formatOptional0 = concise list (default), 1 = strict array constant with quotes and braces.

Examples

Example 1 — A quick list of regions

Show every region in one cell.

B2fx=ARRAYTOTEXT(A2:A4)
AB
1RegionList
2WestWest, East, North
3East
4North
=ARRAYTOTEXT(A2:A4) Explain

Example 2 — An array constant

Strict format gives {"West";"East";"North"} — semicolons mean rows.

=ARRAYTOTEXT(A2:A4, 1) Explain

Common mistakes

  • No custom separator. Concise format always uses comma-space. For another separator, use TEXTJOIN.

Notes

Kyle Stott

Author

Kyle Stott

Certified Microsoft Excel Expert

Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.