FxFormula Drills

Premium Google Sheets drill · Text and regular expressions

TEXTJOIN an address and skip the blank

Practice Google Sheets TEXTJOIN with TRUE so a blank middle cell is skipped and the street joins the city.

A2 is a street and C2 is a city. B2 is blank. TEXTJOIN's second argument, TRUE, skips blanks.

In D2, join A2, B2, and C2 with a comma and a space, ignoring the empty cell.

Dataset

Starter sheet. Cells marked formula are where the formula goes.

Starter sheet for this exercise
RowABCD
1StreetLine 2City
2400 MarketAustinFormula goes in D2. formula

Hint

The arguments are the delimiter, TRUE, then A2, B2, and C2.

Explanation

TEXTJOIN with TRUE skips B2, so the cell reads 400 Market, Austin. FALSE would have kept the empty piece and produced a doubled comma.

The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.

Solve this drill

Practice this formula

Loading the practice grid…

Google Sheets is a trademark of Google LLC. Formula Drills is not affiliated with Google. Excel drills on this site are a separate track.