How to Use the CONCATENATE Function in Google Sheets | Combine Multiple Strings and Cells
How to Use the CONCATENATE Function
The CONCATENATE function joins multiple text strings or cell references in order into a single text string. It is widely used for combining first and last names, merging address fields, and generating ID codes.
Syntax
=CONCATENATE(string1, [string2, ...])
- string1: The first text string, number, or cell reference to combine (required). Enclose literal text in double quotes, such as
"text". - string2, …: Additional strings or cell references to append, separated by commas (optional).
Example Using a Table
Here is an example of creating a full name by inserting a space between “First Name (Column A)” and “Last Name (Column B)” in the customer list below.
| Row | Column A (First Name) | Column B (Last Name) | Column C (Full Name) |
|---|---|---|---|
| 1 | First Name | Last Name | Full Name |
| 2 | Taro | Yamada | =CONCATENATE(A2, " ", B2) |
| 3 | Hanako | Sato | =CONCATENATE(A3, " ", B3) |
| 4 | Ichiro | Suzuki | =CONCATENATE(A4, " ", B4) |
- Formula:
=CONCATENATE(A2, " ", B2) - Result:
Taro Yamada
Common Errors and Notes
- The Combined Result Is Always Text: Joining numbers such as
=CONCATENATE(10, 20)produces the text string"1020", which cannot be summed directly by functions likeSUM. Wrap it inVALUEif you need to use it as a number. - Forgetting Double Quotes (
#NAME?): Failing to wrap literal characters like hyphens or spaces in double quotes (e.g.,"-") causes a#NAME?formula error. - Joining a Range with a Delimiter: Passing a range like
CONCATENATE(A2:A10)joins all cells without any separator. If you want to join a range with commas or line breaks while ignoring blank cells, use theTEXTJOINfunction instead.
Frequently Asked Questions
Q. Should I use the CONCATENATE function or the "&" (ampersand) operator?
A. Their functionality is identical. When combining just 2 or 3 items, using the & operator like "=A2 & B2" is shorter to write; when combining many items, CONCATENATE makes the formula easier to read by separating arguments with commas.
Q. Why does formatting break when combining date or number cells with CONCATENATE?
A. Because Google Sheets joins the underlying raw values (serial numbers for dates, unformatted numbers without commas for amounts) as plain text. To preserve formatting, use the TEXT function inside it, such as "=CONCATENATE(A2, TEXT(B2, "yyyy/mm/dd"))".