Build a mailing address with TEXTJOIN
Combine separate address fields into one line, skipping blanks.
TEXTJOIN
Joins text values with a separator, and can skip the empty ones. Below are 1 interactive exercise that put it to work on realistic business data — you write the formula, and get told exactly what went wrong when it does not work.
TEXTJOIN(delimiter, ignore_empty, text1, ...)
Available from Excel 2019.
Ordered from most approachable to hardest.
Joins text values with a separator, and can skip the empty ones. It belongs to the text functions family, and it shows up constantly in real work — which is why it is worth being genuinely fluent rather than merely familiar.
Before this one, it helps to be comfortable with CONCAT. The exercises below assume that ground is covered.
Reading about a function is not the same as being able to write it. The exercises on this page exist because the gap between recognising TEXTJOIN and producing it from memory, correctly, on data you have not seen before, only closes by doing it.