Category: FUNCTION | Updated: 2026-11-22

How to Use the JOIN Function in Google Sheets | Combine Arrays and Ranges with a Delimiter

How to Use the JOIN Function

The JOIN function concatenates the elements of a single-row or single-column range or array into a single text string, placing a specified delimiter between each element. As the counterpart to SPLIT, it is useful for generating tag lists and building URL parameters.

Syntax

=JOIN(delimiter, value_or_array1, [value_or_array2, ...])
  • delimiter: The text string to insert between each element, such as ",", " / ", or "-" (required).
  • value_or_array1: A single-row or single-column cell range, array, or single value to join (required).
  • value_or_array2, …: Additional values or 1D ranges to append, separated by commas (optional).

Example Using a Table

Here is an example of joining product category levels (A2:C2) with " > " to create a breadcrumb trail string.

Row Column A (Main Category) Column B (Subcategory) Column C (Item Type) Column D (Joined with JOIN)
1 Main Category Subcategory Item Type Breadcrumb
2 Electronics Computers Laptops =JOIN(" > ", A2:C2) → Electronics > Computers > Laptops
3 Food Beverages Coffee =JOIN(" > ", A3:C3) → Food > Beverages > Coffee
  • Formula: =JOIN(" > ", A2:C2)
  • Result: Electronics > Computers > Laptops

Common Errors and Notes

  • 2D Ranges (Multiple Rows × Multiple Columns) Cause #VALUE!: JOIN only accepts a single-row (horizontal) or single-column (vertical) range. Passing a 2D table like A2:C5 triggers a #VALUE! error—use TEXTJOIN instead for 2D ranges.
  • Blank Cells Are Joined with Delimiters: Any blank cell in the range produces consecutive delimiters (e.g., "Electronics > > Laptops"). Use TEXTJOIN or filter out blanks with FILTER if you want to skip empty cells.
  • 50,000-Character Maximum Output: If the combined string exceeds the single-cell limit of 50,000 characters, a #VALUE! error occurs.

Frequently Asked Questions

Q. What is the difference between JOIN and TEXTJOIN?

A. JOIN includes blank cells in the range along with their delimiters, whereas TEXTJOIN can automatically skip blank cells when the second argument is set to TRUE. Additionally, JOIN only accepts 1D (single-row or single-column) ranges or arrays.

Q. How do I use JOIN without any delimiter?

A. Pass empty double quotes "" as the first argument. For example, "=JOIN("", A2:A5)" concatenates all cell values directly with no separator.