TEXTJOIN

joins text with delimiter, ignoring blanks

signature

TEXTJOIN(delimiter, ignore_empty, text…)

returns: text

argumentrequired
delimiter required
ignore_empty required
text… required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

A
1 10
2 20
3 30
fx =TEXTJOIN(", ", TRUE, A1:A3) 10, 20, 30

related

  • ASC converts full-width characters to half-width
  • CHAR returns the character for a character-set code
  • CLEAN removes non-printable characters
  • CODE numeric code of the first character
  • CONCAT joins multiple text strings into one
  • CONCATENATE joins several text strings into one