Ghost Sheet

TEXTJOIN: join a range and skip the blanks

How do I join parts into one name without empty gaps?

This is the task for this topic. It is part of the plan; the level check before it is free.
F2Type a formula for F2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDEF
1SKUBrandRangeColourSizeDisplay name
2CAT-801TidewaterTrailRustL
3CAT-802HarborClassicRustXL
4CAT-803HarborClassicNavyL
5CAT-804TidewaterClassicNavyM
6CAT-805TidewaterDockOliveS
7CAT-806HarborTrailRustXL
8CAT-807Pier & PostDockSandM
9CAT-808TidewaterTrailRustXL
10CAT-809HarborDockNavyS
11CAT-810TidewaterDockRustM
12CAT-811Pier & PostStudioRustM
13
14
15
16
17
18
19
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
TEXTJOIN(separator, TRUE, range) joins every cell in a range with the separator and, with TRUE, skips the empty ones. It saves long chains of & and never leaves “ / / ” gaps. Excel 2019 or later.
The shape of the formula
=TEXTJOIN(" / ", TRUE, first part:last part)
How to remember it
TRUE means “ignore the empty ones”.
The usual mistake
Joining with & when some parts can be blank. Every missing colour or size leaves a separator hanging.

Keep practicing

Updated