1Ampersand
=A2&" "&B2
- In C2 type =A2&" "&B2 and press Enter.
- Double-click the fill handle in the corner of C2 to copy the formula down.
Join first and last name into one cell with the & operator, CONCAT or TEXTJOIN, and build a "Last, First" version for sorting.
First names are in column A and last names in column B. You want one cell with the full name, or a "Last, First" version for a sorted list.
The quickest formula uses the ampersand, which joins text: =A2&" "&B2. The " " in the middle is a space written as text. Leave it out and the names run together.
CONCAT does the same job as a function, and accepts ranges. TEXTJOIN is better when some parts may be empty, such as a middle name: it takes a delimiter once and can skip blank cells, so you do not get double spaces.
Joining formulas return text and update when the parts change. If you want to keep only the joined text and delete the original columns, copy the results and use Paste Special, Values, first. Otherwise the joined cells will break when the sources go.
The older CONCATENATE function still works but offers nothing the newer ones do not, so you can ignore it. The ribbon has Flash Fill: type one example beside the data, then choose Data > Flash Fill or press Ctrl+E. It writes fixed text rather than a formula.
If the pieces come from messy data, run them through TRIM first. The Foundations track introduces the & operator in its own lesson.
=A2&" "&B2
=TEXTJOIN(" ",TRUE,A2:B2)
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In C2, join the first name and last name with a space between them, then fill down to C8.
Answer in C2, then it fills down to C8.
Logic and text covers this in lesson 15, CONCAT and building keys.