---
title: "Joining text with & and TEXTJOIN practice: 4 exercises with answers"
description: "Practice joining text in Excel with & and TEXTJOIN: full names, email addresses, a one-line address and IDs, checked in a live spreadsheet."
canonical_url: "https://excelsavvy.com/practice/join-text"
meta:
  "og:description": "Practice joining text in Excel with & and TEXTJOIN: full names, email addresses, a one-line address and IDs, checked in a live spreadsheet."
  "og:image": "https://excelsavvy.com/_og/d/c_Page%2Ctitle_~Sm9pbmluZyB0ZXh0IHdpdGggJiBhbmQgVEVYVEpPSU4gcHJhY3RpY2U6IDQgZXhlcmNpc2VzIHdpdGggYW5zd2Vycw%2Cdescription_~UHJhY3RpY2Ugam9pbmluZyB0ZXh0IGluIEV4Y2VsIHdpdGggJiBhbmQgVEVYVEpPSU46IGZ1bGwgbmFtZXMsIGVtYWlsIGFkZHJlc3NlcywgYSBvbmUtbGluZSBhZGRyZXNzIGFuZCBJRHMsIGNoZWNrZWQgaW4gYSBsaXZlIHNwcmVhZHNoZWV0Lg%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIkZpcnN0IG5hbWUiLCJMYXN0IG5hbWUiLCJGdWxsIG5hbWUiXX0seyJuIjoyLCJjZWxscyI6WyJBbm5hIiwiQmVyZyIsIiJdfV0sInRhcmdldCI6WzEsMl19fQ%2Cp_Ii9wcmFjdGljZS9qb2luLXRleHQi%2Cs_SzdyfVeWhL55yA6w.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Joining text with & and TEXTJOIN practice: 4 exercises with answers"
  "twitter:image": "https://excelsavvy.com/_og/d/c_Page%2Ctitle_~Sm9pbmluZyB0ZXh0IHdpdGggJiBhbmQgVEVYVEpPSU4gcHJhY3RpY2U6IDQgZXhlcmNpc2VzIHdpdGggYW5zd2Vycw%2Cdescription_~UHJhY3RpY2Ugam9pbmluZyB0ZXh0IGluIEV4Y2VsIHdpdGggJiBhbmQgVEVYVEpPSU46IGZ1bGwgbmFtZXMsIGVtYWlsIGFkZHJlc3NlcywgYSBvbmUtbGluZSBhZGRyZXNzIGFuZCBJRHMsIGNoZWNrZWQgaW4gYSBsaXZlIHNwcmVhZHNoZWV0Lg%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIkZpcnN0IG5hbWUiLCJMYXN0IG5hbWUiLCJGdWxsIG5hbWUiXX0seyJuIjoyLCJjZWxscyI6WyJBbm5hIiwiQmVyZyIsIiJdfV0sInRhcmdldCI6WzEsMl19fQ%2Cp_Ii9wcmFjdGljZS9qb2luLXRleHQi%2Cs_SzdyfVeWhL55yA6w.png"
---

> Index of every page on this site: [llms.txt](https://excelsavvy.com/llms.txt)

# **Joining text with & and TEXTJOIN practice exercises**

Put text from several cells together into one, with spaces or other separators between the parts, and skip the cells that are empty.

[**Start the first exercise**](https://excelsavvy.com/practice/join-text/join-names-ampersand)

LEFT(UPPER(

## **How to join text in Excel**

Excel has three ways to put text together. The & operator glues values together, as in A2&" "&B2. CONCAT does the same for a whole range. TEXTJOIN takes a separator, then TRUE or FALSE for whether to skip empty cells, and then the cells you want to join. CONCAT and TEXTJOIN need Excel 2019 or Microsoft 365, while & works in every version.

`**=A2&" "&B2**` joins "Anna" and "Berg" into "Anna Berg". The space is a text in quotes. `**=TEXTJOIN(", ",TRUE,A2:D2)**` joins an address spread over four cells with a comma and a space, and it skips an empty Suite cell so you don't get two commas in a row.

Numbers and dates lose their formatting when you join them. If B2 is a date, the joined text shows a serial number like 45366 instead of Mar 15, 2024. Wrap it in TEXT to control the look: `**=A2&" "&TEXT(B2,"mmm d, yyyy")**`. The exercises below cover joining first and last name with &, building a lowercase email address, joining an address with TEXTJOIN and building an ID from LEFT, UPPER and &.

1. [**1****Join first and last name with &**In C2, join the first name in A2 and the last name in B2 with a space between them. Use the & operator.](https://excelsavvy.com/practice/join-text/join-names-ampersand)
2. [**2****Build an email address****Premium**In C2, build the email address first.last@northwind.com in small letters from A2 and B2. Join the parts with & and wrap the whole thing in LOWER.](https://excelsavvy.com/practice/join-text/build-email-address)
3. [**3****Join an address with TEXTJOIN****Premium**In E2, join A2:D2 into one address with a comma and a space between the parts. Use TEXTJOIN and skip the empty Suite cell.](https://excelsavvy.com/practice/join-text/textjoin-address)
4. [**4****Build an ID from a department and a number****Premium**Badge IDs are the first 3 letters of the department in capitals, a dash and the employee number, like MAR-1042. In C2, build the ID with LEFT, UPPER and &.](https://excelsavvy.com/practice/join-text/build-id-left-upper)

## **Functions in this topic**

- [**LEFT**](https://excelsavvy.com/functions/left)
- [**UPPER**](https://excelsavvy.com/functions/upper)

## **Read the guide**

- [**How to clean data in Excel with formulas**](https://excelsavvy.com/learn/clean-data-in-excel)
- [**How to merge cells in Excel, and what to use instead**](https://excelsavvy.com/learn/merge-cells-excel)
- [**Line breaks in Excel: a new line in a cell, with a formula and gone again**](https://excelsavvy.com/learn/line-break-in-excel)
- [**Excel customer data: free practice file with tasks and answers**](https://excelsavvy.com/learn/excel-customer-data)

## **Questions**

<details>

<summary>

### What is the difference between CONCATENATE, CONCAT and TEXTJOIN?

</summary>

CONCATENATE is the old function and accepts only single cells, not ranges. CONCAT replaces it and accepts ranges, but still has no separator. TEXTJOIN adds a separator and can skip empty cells. Microsoft keeps CONCATENATE only for compatibility, so use CONCAT or TEXTJOIN in new files, or just the &amp; operator.

</details>

<details>

<summary>

### How do I join a column of text into one cell with commas?

</summary>

Use TEXTJOIN with the whole range: =TEXTJOIN(", ",TRUE,A2:A20). The TRUE skips empty cells, so you don't get stray commas. In an Excel version without TEXTJOIN, you have to chain the cells one by one with &amp;, which gets long fast. Flash Fill with Ctrl+E can also build a few examples by pattern.

</details>

<details>

<summary>

### How do I add a line break when joining text in Excel?

</summary>

Put CHAR(10) between the parts: =A2&amp;CHAR(10)&amp;B2. Then turn on Wrap Text for the cell on the Home tab, or the text still shows on one line. With TEXTJOIN you can use CHAR(10) as the separator: =TEXTJOIN(CHAR(10),TRUE,A2:D2).

</details>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://excelsavvy.com/#identity","@type":"Organization","name":"ExcelSavvy","url":"https://excelsavvy.com/","logo":{"@id":"https://excelsavvy.com/#logo"}},{"@id":"https://excelsavvy.com/#website","@type":"WebSite","inLanguage":"en-US","name":"ExcelSavvy","url":"https://excelsavvy.com/","alternateName":["Excel Savvy","ExcelSavvy.com","PracticeExcel","Practice Excel Online"],"publisher":{"@id":"https://excelsavvy.com/#identity"},"workTranslation":[{"@id":"https://excelopgaver.dk/#website"},{"@id":"https://excelpraxis.de/#website"}]},{"@id":"https://excelsavvy.com/practice/join-text#webpage","description":"Practice joining text in Excel with & and TEXTJOIN: full names, email addresses, a one-line address and IDs, checked in a live spreadsheet.","name":"Joining text with & and TEXTJOIN practice: 4 exercises with answers","url":"https://excelsavvy.com/practice/join-text","@type":["WebPage","CollectionPage","FAQPage"],"breadcrumb":{"@id":"https://excelsavvy.com/practice/join-text#breadcrumb"},"isPartOf":{"@id":"https://excelsavvy.com/#website"},"mainEntity":[{"@id":"https://excelsavvy.com/practice/join-text#/schema/question/1"},{"@id":"https://excelsavvy.com/practice/join-text#/schema/question/2"},{"@id":"https://excelsavvy.com/practice/join-text#/schema/question/3"}],"potentialAction":[{"@type":"ReadAction","target":["https://excelsavvy.com/practice/join-text"]}],"primaryImageOfPage":{"@id":"https://excelsavvy.com/#logo"}},{"@id":"https://excelsavvy.com/practice/join-text#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://excelsavvy.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://excelsavvy.com/practice","position":2},{"@type":"ListItem","name":"Joining text with & and TEXTJOIN practice: 4 exercises with answers","position":3}]},{"@id":"https://excelsavvy.com/practice/join-text#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"What is the difference between CONCATENATE, CONCAT and TEXTJOIN?","acceptedAnswer":{"@type":"Answer","text":"CONCATENATE is the old function and accepts only single cells, not ranges. CONCAT replaces it and accepts ranges, but still has no separator. TEXTJOIN adds a separator and can skip empty cells. Microsoft keeps CONCATENATE only for compatibility, so use CONCAT or TEXTJOIN in new files, or just the & operator."}},{"@id":"https://excelsavvy.com/practice/join-text#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"How do I join a column of text into one cell with commas?","acceptedAnswer":{"@type":"Answer","text":"Use TEXTJOIN with the whole range: =TEXTJOIN(\", \",TRUE,A2:A20). The TRUE skips empty cells, so you don't get stray commas. In an Excel version without TEXTJOIN, you have to chain the cells one by one with &, which gets long fast. Flash Fill with Ctrl+E can also build a few examples by pattern."}},{"@id":"https://excelsavvy.com/practice/join-text#/schema/question/3","@type":"Question","inLanguage":"en-US","name":"How do I add a line break when joining text in Excel?","acceptedAnswer":{"@type":"Answer","text":"Put CHAR(10) between the parts: =A2&CHAR(10)&B2. Then turn on Wrap Text for the cell on the Home tab, or the text still shows on one line. With TEXTJOIN you can use CHAR(10) as the separator: =TEXTJOIN(CHAR(10),TRUE,A2:D2)."}},{"@id":"https://excelsavvy.com/#logo","@type":"ImageObject","caption":"ExcelSavvy","contentUrl":"https://excelsavvy.com/brand/practiceexcel/icon-512.png?v=3","inLanguage":"en-US","url":"https://excelsavvy.com/brand/practiceexcel/icon-512.png?v=3"}]}
```

## Sitemap

See the full [sitemap](https://excelsavvy.com/sitemap.md) for all pages.
