CONCATENATE: build a full name

Lesson 26 of 54

CONCATENATE joins pieces of text into one cell, like a first and last name with a space between. The & operator does the same thing, and CONCAT and TEXTJOIN are the newer versions.

In cell C2, write a formula that joins the first name and last name with a space between them, using CONCATENATE (or CONCAT). Fill down should work too.

C2
ABC
1FirstLastFull name
2AnaLópez
3LuisPérez
4MartaRuiz

Type in the formula bar above and press Enter to check.

Skip

How CONCATENATE works

Syntax

=CONCATENATE(text1, [text2], ...)
text1, text2, ...
Cells or text in "quotes" to join, in order. Add " " or ", " yourself where you want separators.

Example

A city is in A2 and a country code in B2. You want "Lisbon, PT".

=CONCATENATE(A2, ", ", B2)

Gives "Lisbon, PT". The same with &: =A2&", "&B2.

Common mistakes

  • Forgetting the separator, which gives "LisbonPT". Add ", " or " " as its own argument.
  • Giving Excel's CONCATENATE a whole range like A2:A10. It joins single cells only; use TEXTJOIN(", ", TRUE, A2:A10).
  • Joining a number or date and getting 46000 instead of a date. Wrap it in TEXT: TEXT(C2,"mmm d, yyyy").

Questions people ask

What is the difference between CONCATENATE and CONCAT?

CONCAT is the newer name in Excel 2019+ and also accepts ranges. CONCATENATE still works everywhere.

How do I join a list with commas?

Use TEXTJOIN: =TEXTJOIN(", ", TRUE, A2:A20). TRUE skips empty cells.

Practice it above: type the formula in the formula bar and press Enter to check.