TEXTJOIN Function in Apple Numbers: Syntax, Examples and Troubleshooting
Create readable delimited lists and labels from Numbers table columns with TEXTJOIN.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
=TEXTJOIN(" | ",TRUE,A2:A6) joins Desk, an empty cell, Chair, Lamp and another empty cell as Desk | Chair | Lamp. The second argument decides whether genuinely empty cells occupy positions in the output.
Availability and version history
- Introduced: Added in Numbers 12.2 for Mac and iPad.
- Availability: Currently documented in Apple’s Formulas and Functions Help 15.4 edition; no final supported-version endpoint is established.
- Scope: The release histories establish Mac and iPad introductions. First iPhone and iCloud versions remain unknown; the help edition is not an app build number.
- Checked: October 14, 2026, against the official TEXTJOIN reference. Examples were independently calculated; no native Numbers execution was performed.
Syntax and the required empty-cell choice
TEXTJOIN(delimiter, ignore-empty, string, string…)
Supply a delimiter, a TRUE/FALSE choice and at least one value, cell or range. Additional values or references are optional. The delimiter may be empty or come from a cell. TRUE, also represented by 1 in Apple’s reference, omits empty cells; FALSE or 0 includes them. Apple warns that including header cells can cause an error. See the direct TEXTJOIN entry.
Use CONCAT when no automatic delimiter is wanted. Here, quote the delimiter exactly: " | " contains three characters, including the two spaces.
Reproduce the original Items list
Create Items, with seven columns and eight rows. Put Item in A1 and enter Desk in A2, Chair in A4 and Lamp in A5. Leave A3 and A6 genuinely empty: no word “blank,” no space and no formula. Put Blue in B2 for the original per-row key example. Use D:E for outputs, keeping source column A intact.
| Cell | Formula | Expected text |
|---|---|---|
| D2 | =TEXTJOIN(" | ",TRUE,A2:A6) |
Desk | Chair | Lamp |
| D3 | =TEXTJOIN(" | ",FALSE,A2:A4) |
Desk | | Chair |
| D4 | =TEXTJOIN("",TRUE,A2:A5) |
DeskChairLamp |
| D5 | =TEXTJOIN(" / ",TRUE,A2:A6,"Ready") |
Desk / Chair / Lamp / Ready |
| D6 | =TEXTJOIN("-",TRUE,A2,B2) |
Desk-Blue |
The vertical bars inside the first two expected strings are literal separators. E2 =LEN(D2) filled through E6 gives 19,15,13,27,9. The FALSE case has two delimiters around the retained empty position. The final Ready marker in D5 is explicit text, not evidence that any item passed a check.
Duplicate Items as AddedItem and put Shelf in A3. D2 becomes Desk | Shelf | Chair | Lamp, length 27. D3 becomes Desk | Shelf | Chair, length 20; D4 becomes DeskShelfChairLamp, length 18; D5 becomes Desk / Shelf / Chair / Lamp / Ready, length 35. D6 stays Desk-Blue because it references only A2 and B2.
For the marker caveat, duplicate the original Items as NoItems and clear A2:A6. D5 returns Ready from its explicit last argument, even though no item remains. Do not use the marker’s appearance as a completeness test.
Reconstruct the vendor’s multiple-range example
Create VendorJoin, with five columns and five rows. Put numeric 1,2,3 in A2:A4 and text A,B,C in B2:B4; leave C2:C4 empty. Enter:
E2: =TEXTJOIN(" ",TRUE,A2:A4,B2:B4)
E3: =TEXTJOIN(A2,TRUE,B2:B4)
E4: =TEXTJOIN(",",FALSE,A2:A4,C2:C4,B2:B4)
Expected results are 1 2 3 A B C, A1B1C, and 1,2,3,,,,A,B,C. These reproduce Apple’s stated data with explicit data-only ranges. The numeric delimiter reference in E3 is a case Apple itself illustrates. E4 includes nine positions, of which the middle three are empty, creating four consecutive commas between 3 and A.
Advanced: skipped fields can hide different records
Create FieldPositions, with seven columns and three rows. Put Code, Size and Finish in A1:C1. In row 2 enter A in A2, leave B2 empty and put Blue in C2. In row 3 enter A in A3, Blue in B3 and leave C3 empty.
Enter D2 =TEXTJOIN("|",TRUE,A2:C2), E2 =TEXTJOIN("|",FALSE,A2:C2), F2 =LEN(D2) and G2 =LEN(E2), then fill through row 3. Both D results are A|Blue, length 6. E2 is A||Blue and E3 A|Blue|, each length 7. Skipping missing fields made distinct row layouts indistinguishable.
Including empty positions preserves this particular layout difference, but it is still not a complete export format. A field containing the delimiter can make parsing ambiguous. A CSV or other interchange file may also require quoting, escaping and treatment of line breaks beyond a simple TEXTJOIN.
Empty cells, text spaces and unresolved cases
Apple’s wording concerns empty cells. A stored space contains text; a formula returning "" is not an untouched cell. Their detailed interaction with empty-cell skipping, imported values and errors is not established by the short reference. Keep those cases separate from the genuinely empty cells used here rather than silently classifying every blank-looking value the same way.
Use LEN to inspect explicit strings and EXACT to compare outputs. Neither test establishes whether the original fields were complete or semantically correct. Preserve the original table alongside the joined presentation.
Formula entry and remaining limits
The examples use English names, comma separators, uniquely named Numbers tables, one header row and no header columns or footer rows unless stated otherwise. Use the separators shown by the document’s formula editor if its locale differs. References such as A2 are local to the table; a reference from another table can use the table name and ::.
The short entry does not establish every imported type, maximum output length, special Unicode or error-propagation case. Keep original values and test the exact target clients when exchanging a workbook. A checked text example does not establish all formatting and conversion behavior.