Practice by topic / Excel / Text Functions

CONCATENATE / TEXTJOIN Exercises

Imported data is messy: extra spaces, inconsistent capitals, codes glued together. Text functions clean and reshape it without retyping anything. These 10 exercises build up step by step, starting with join a first and last name, build an address line with concatenate, join a range with textjoin and a delimiter.

3 of 10 free · no sign-up needed · graded on the formula you write

1

Join a First and Last Name

Free

A1 holds a first name, B1 holds a last name. Write a formula in C1 that joins them with a space using CONCATENATE.

ABC
1AlexRivera?
Show the solution

Use =CONCATENATE(A1," ",B1)

Right — CONCATENATE joins any number of text arguments together in order.

Expected result in C1: Alex Rivera

Try it in the live spreadsheet →
2

Build an Address Line With CONCATENATE

Free

A1 holds a street, B1 holds a city, C1 holds a state. Write a formula in D1 that joins them as 'street, city state' using CONCATENATE.

ABCD
1123 Main StAustinTX?
Show the solution

Use =CONCATENATE(A1,", ",B1," ",C1)

Good — CONCATENATE with literal separators mixed in builds a fully formatted address.

Expected result in D1: 123 Main St, Austin TX

Try it in the live spreadsheet →
3

Join a Range With TEXTJOIN and a Delimiter

Free

A1:A3 hold three tags. Write a formula in B1 that joins them with commas using TEXTJOIN, ignoring any empty cells.

AB
1urgent?
2bug
3frontend
Show the solution

Use =TEXTJOIN(", ",TRUE,A1:A3)

Right — TEXTJOIN handles a whole range at once and can skip blanks automatically.

Expected result in B1: urgent, bug, frontend

Try it in the live spreadsheet →
4

Skip Blanks While Joining With TEXTJOIN

A1:A4 hold four values, one of which is blank. Write a formula in B1 that joins the non-blank ones with a comma using TEXTJOIN.

AB
1red?
2
3blue
4green

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
7

Build a Full Citation With CONCATENATE

A1 holds an author, B1 holds a year, C1 holds a title. Write a formula in D1 that joins them as 'Author (Year): Title' using CONCATENATE.

ABCD
1Smith2023Excel Basics?

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
10

Join Non-Empty Notes Fields

A1:A3 hold optional note fields, with the middle one blank. Write a formula in B1 that joins the filled ones with a semicolon using TEXTJOIN.

AB
1Fragile?
2
3Priority

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →