IntermediateText Functions7 min25 points

Skip blanks when joining an address

The situation

Harbor Supply prints shipping labels from four address columns, but most customers have no suite number. The current labels come out with a stray comma floating where the blank field was, and the carrier's system rejects them.

A1
fx
Skip blanks when joining an address — question sheet. Use the arrow keys to move between cells, Enter or F2 to edit, Escape to cancel, Control D to fill down from the cell above, and Control C and Control V to copy and paste.
Row numberABCDEF
1StreetSuiteCityStateLabel
21420 Harbor RdClevelandOH
388 Fenwick AveSuite 300San AntonioTX
47 Alder CtProvidenceRI
5215 Riverbend WayUnit 12Grand RapidsMI
6

Functions in this exercise

  • TEXTJOINJoins text values with a separator, and can skip the empty ones.

Who this is for