Sheetsdrill

Level 5: Text and dates Exercise 43 of 50 Pro

Address without gaps

A Google Sheets formula exercise from Sheetsdrill. Solve it with a formula bar on a live sheet in your browser, and it is checked the moment you submit.

The task

Build one address line from columns A to D, separated by a comma and a space. Some rows have no unit, and the line must not show an empty gap. Fill E2 and E3 using TEXTJOIN.

What this exercise teaches

With ignore empty set to FALSE you get "502 Bay Rd, , Riverton", which looks broken on a label.

A hint if you get stuck

TEXTJOIN(delimiter, ignore empty, range). Set ignore empty to TRUE.

Functions used: TEXTJOIN

This exercise is part of Pro

Pro unlocks all 50 exercises, with worked solutions and progress saved to your account. The free exercises work without an account.

You create a free account first, so Pro is attached to it.

Monthly is charged today and then every month until you cancel, in one click from your account page. Lifetime is one payment with no renewals. Full refund within 14 days of paying.

Start with the free exercises

More exercises in Text and dates