ARRAYTOTEXT function
an array of text values from any specified range.
Text · Excel 2021+
Where can you use it?
Data preparation and reporting teams. Use this group to clean, split or reformat IDs, names and descriptions before using them in reports.
Scenario in the workbook
Convert a two-cell array to readable text. The result is one string.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input | Second input |
| 7 | 1 | 2 |
| 8 | 3 | 4 |
| 9 | 5 | 6 |
Record 1
=ARRAYTOTEXT(A7:B7)Expected result1, 2
See the inputs and instructions for all 3 examplesSyntax
ARRAYTOTEXT(array, [format])
Copyable formulas
English Excel · en-US
=ARRAYTOTEXT(A7:B7)Turkish Excel · tr-TR
=DİZİMETİN(A7:B7)Worked examples
Convert a two-cell array to readable text. The result is one string.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A | B |
|---|---|---|
| 6 | Input | Second input |
| 7 | 1 | 2 |
| 8 | 3 | 4 |
| 9 | 5 | 6 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =ARRAYTOTEXT(A7:B7) |
1, 2 |
| Record 2 | =ARRAYTOTEXT(A8:B8) |
3, 4 |
| Record 3 | =ARRAYTOTEXT(A9:B9) |
5, 6 |