beginner 6 min read

CONCATENATE & TEXTJOIN in Google Sheets

Learn how to combine text from multiple cells in Google Sheets using CONCATENATE, the ampersand operator, and TEXTJOIN with delimiters and ranges.

SB

Sheets Bootcamp

March 12, 2026 Β· Updated November 5, 2026

Reviewed by Ryan

Quick Answer

To combine text in Google Sheets, use =A2&" "&B2 or =CONCATENATE(A2, " ", B2) for a few cells, and =TEXTJOIN(", ", TRUE, A2:E2) for a range. TEXTJOIN puts your delimiter between every value, and TRUE as the second argument skips empty cells. The & operator adds nothing on its own, so always include the separator you want, like " " for a space.

CONCATENATE in Google Sheets joins text from multiple cells into a single string. The text functions pillar covers the full set of text manipulation tools, but combining text is one of the most common tasks, whether you are building full names, assembling addresses, or creating summary fields from multiple columns.

This guide covers three ways to combine text: the & operator, CONCATENATE, and TEXTJOIN. You’ll learn the syntax for each, when to use which, and how to handle delimiters and empty cells.

In This Guide

The & Operator

The ampersand (&) joins two or more values. It is the shortest way to combine text in Google Sheets.

Formula
=A2 & " " & B2

This joins the value in A2, a space, and the value in B2 into one string. You can chain as many & operators as needed: =A2 & ", " & B2 & " (" & C2 & ")" builds a formatted string with commas and parentheses.

The & operator does not add any separator on its own. If you write =A2&B2, the two values run together with nothing between them. Always include a text string for the separator you want: " " for a space, ", " for a comma and space, " - " for a dash.

Important

The & operator converts numbers and dates to text automatically. If A2 contains the number 42, =A2&” items” returns β€œ42 items”. But the result is a text string, not a number. You cannot use it in calculations without converting it back with VALUE.

CONCATENATE Syntax and Examples

CONCATENATE does the same thing as & with function syntax.

Formula
=CONCATENATE(string1, string2, ...)
ArgumentDescriptionRequired
string1First text value, cell reference, or rangeYes
string2Second text value, cell reference, or rangeNo
…Additional valuesNo

Example: =CONCATENATE("Hello, ", A2) returns "Hello, SHERLOCK HOLMES" when A2 contains "SHERLOCK HOLMES".

CONCATENATE accepts ranges, but it adds no separator. =CONCATENATE(A2:C2) joins every cell in the range with nothing between them. To add spaces, list each cell with a separator: =CONCATENATE(A2, " ", B2, " ", C2), or use TEXTJOIN.

In practice, the & operator is more common because it is shorter. CONCATENATE is useful when you prefer function syntax for readability, but most users choose & for combining 2-3 values.

Try it yourself

Question 1 of 3

3 quick questions. No account needed.

In B9, join the first name in A3 and the last name in B3 with a space between them. Use the & operator.

A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
First
Last
Cabin
Age
Ava
Brooks
Pine
9
Leo
Diaz
Cedar
11
Mia
Novak
Birch
10
Eli
Grant
Pine
12
Zoe
Hale
Oak
8
Sam
Ito
Cedar
10
Result
B9

TEXTJOIN Syntax and Examples

TEXTJOIN joins a range of cells with a delimiter and can skip empty cells. It is the most flexible option for combining text.

Formula
=TEXTJOIN(delimiter, ignore_empty, string1, [string2, ...])
ArgumentDescriptionRequired
delimiterText placed between each value (e.g., ", ")Yes
ignore_emptyTRUE to skip blank cells, FALSE to include themYes
string1First value or range to joinYes

Example: =TEXTJOIN(", ", TRUE, A2:E2) joins all five columns in row 2 with a comma and space between each value. If any cell in the range is empty, TEXTJOIN skips it when ignore_empty is TRUE.

TEXTJOIN formula joining name, email, and company with comma delimiter

TEXTJOIN accepts both individual cells and ranges. =TEXTJOIN(" | ", TRUE, A2:E2) is cleaner than =A2 & " | " & B2 & " | " & C2 & " | " & D2 & " | " & E2.

Note

When ignore_empty is FALSE, TEXTJOIN includes empty cells as consecutive delimiters. If B2 is blank, =TEXTJOIN(”, ”, FALSE, A2:C2) returns something like β€œSherlock, , London” with two commas in a row. Set it to TRUE to avoid this.

Combine Text Step-by-Step

We’ll use the messy contacts table with 8 rows of names, emails, phone numbers, addresses, and company names.

1

Set up your data

Open the contacts spreadsheet. The data has Full Name in column A, Email in column B, Phone in column C, Address in column D, and Company in column E. The names have extra spaces and mixed capitalization, but we’ll combine first and clean later.

Messy contacts table with 8 rows showing Full Name, Email, Phone, Address, and Company columns

2

Combine name and company with &

Select cell F2 and enter:

Formula
=A2 & " - " & E2

This joins the full name and company with a dash separator. For Sherlock Holmes, the result is "SHERLOCK HOLMES - holmes and watson consulting". The extra spaces and capitalization issues carry through, which is expected. You can wrap the result in TRIM and PROPER to clean it.

Ampersand formula joining name and company with dash separator in cell F2

3

Use TEXTJOIN with a delimiter

Select cell G2 and enter:

Formula
=TEXTJOIN(", ", TRUE, A2, B2, E2)

This joins the name, email, and company with a comma and space. The result is "SHERLOCK HOLMES, sherlock.holmes@bakermail.com, holmes and watson consulting". TEXTJOIN makes the delimiter consistent without manually adding ", " between every pair.

4

Apply TEXTJOIN to a full range

Select cell H2 and enter:

Formula
=TEXTJOIN(" | ", TRUE, A2:E2)

This joins all five columns with a pipe separator. Copy the formula down through row 9 to build a one-line summary for each contact. For Sherlock Holmes, the result is "SHERLOCK HOLMES | sherlock.holmes@bakermail.com | (555) 123-4567 | 221B Baker Street, Marylebone, London NW1 6XE | holmes and watson consulting".

TEXTJOIN formula with pipe separator joining all five columns for each contact

Tip

Combine TEXTJOIN with TRIM and PROPER for clean results in one formula: =TEXTJOIN(”, ”, TRUE, PROPER(TRIM(A2)), LOWER(B2), PROPER(TRIM(E2))). This cleans each value before joining them.

Practical Examples

Example 1: Build a Full Address Line

You need to combine name, company, and address into a single mailing line.

Formula
=TEXTJOIN(", ", TRUE, PROPER(TRIM(A2)), PROPER(TRIM(E2)), D2)

For Sherlock Holmes, this returns "Sherlock Holmes, Holmes And Watson Consulting, 221B Baker Street, Marylebone, London NW1 6XE". PROPER and TRIM clean the name and company before TEXTJOIN combines everything.

Example 2: Create an Email Subject Line

You want to generate a personalized subject line from a contact name.

Formula
="Follow up: " & PROPER(TRIM(A2)) & " at " & PROPER(TRIM(E2))

For row 2, this returns "Follow up: Sherlock Holmes at Holmes And Watson Consulting". The & operator works well here because you are joining a fixed number of values with different separators.

Example 3: Join with Line Breaks

TEXTJOIN can use a line break character as the delimiter. Use CHAR(10) for a newline.

Formula
=TEXTJOIN(CHAR(10), TRUE, PROPER(TRIM(A2)), LOWER(B2), D2)

This stacks name, email, and address on separate lines within a single cell. You need to enable text wrapping (Format > Wrapping > Wrap) for the line breaks to display.

Common Errors and How to Fix Them

Values Running Together Without Spaces

If =A2&B2 returns "SHERLOCK HOLMESsherlock.holmes@bakermail.com", you forgot the separator. Add a space or delimiter between the references: =A2 & " " & B2.

CONCATENATE Running a Range Together

=CONCATENATE(A2:C2) joins every cell in the range with no separator, so the values run together. List each cell with a separator: =CONCATENATE(A2, ", ", B2, ", ", C2), or switch to TEXTJOIN with a range reference.

Numbers Losing Formatting

When you concatenate a formatted number, the formatting is lost. If C2 displays $1,234.00, ="Total: " & C2 returns "Total: 1234". Use TEXT to preserve the format: ="Total: " & TEXT(C2, "$#,##0.00").

Tip

When combining dates with text, use TEXT to control the date format. =β€œHired: ” & TEXT(D2, β€œM/D/YYYY”) returns β€œHired: 8/1/2018” instead of a serial number like 43313.

Tips and Best Practices

  1. Use & for 2-3 values, TEXTJOIN for 4 or more. The & operator is cleaner for short joins. TEXTJOIN is cleaner when you have a range or many values with a consistent delimiter.

  2. Always set ignore_empty to TRUE in TEXTJOIN unless you have a specific reason to include blanks. Consecutive delimiters from empty cells look like errors in the output.

  3. Clean before combining. Wrap individual values in TRIM, PROPER, or LOWER before joining them. Cleaning after concatenation is harder because the delimiter characters interfere with functions like TRIM.

  4. Use CHAR(10) for multiline output. TEXTJOIN with CHAR(10) as the delimiter creates line breaks within a cell. Enable Format > Wrapping > Wrap for the breaks to render.

  5. TEXTJOIN replaces CONCATENATE in most cases. Unless you need backward compatibility with older Sheets files that predate TEXTJOIN, there is little reason to use CONCATENATE. TEXTJOIN handles everything CONCATENATE does, plus delimiters and skipping blank cells.

Frequently Asked Questions

What is the difference between CONCATENATE and TEXTJOIN in Google Sheets?
CONCATENATE joins cell references, text strings, and ranges, but it never adds a delimiter: =CONCATENATE(A2:C2) runs every value together. TEXTJOIN lets you set a delimiter like a comma or space, and can skip empty cells. Use CONCATENATE or the & operator for joining 2-3 values. Use TEXTJOIN when joining a range or when you need a consistent delimiter.
How do I combine text from two cells in Google Sheets?
Use the ampersand operator. Enter =A2&" "&B2 to join the values in A2 and B2 with a space between them. You can also use =CONCATENATE(A2, " ", B2) for the same result. The & operator is shorter to type and more common in practice.
How do I add a separator when combining text in Google Sheets?
With the & operator, include the separator as a text string: =A2&", "&B2 adds a comma and space. With TEXTJOIN, the first argument is your separator: =TEXTJOIN(", ", TRUE, A2:C2) joins all values in the range with a comma and space between each one.
Can TEXTJOIN skip empty cells in Google Sheets?
Yes. Set the second argument to TRUE and TEXTJOIN skips any blank cells in the range. =TEXTJOIN(", ", TRUE, A2:E2) joins only the cells that contain values. Set it to FALSE to include empty cells, which produces consecutive delimiters where blanks exist.
Is there a limit to how many cells CONCATENATE can join?
There is no 30-argument limit: a CONCATENATE formula with 100 arguments works. Each argument can be a text string, cell reference, or range. To join many values with a separator, use TEXTJOIN with a range reference instead.

You read about Text Functions. Now type it.

Unit 1 of the course is free: 6 short lessons in a grid that checks every formula. They teach the Google Sheets skills you'll actually use.

Start the course free

First 6 lessons free. No card needed. See plans

Keep going

Continue learning

Unit 2 is next. Get full access

Practice this in the app

Practice Text Functions

Spot an error on this page? Tell us.

First 6 lessons free. No credit card required.

Start the course free
Continue learning

Cookie policy Β· Privacy policy