IntermediateText Functions
Pull the year out of an order code with MID
Extract characters from the middle of a text value.
MID
7 min25 points
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.
| Row number | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| 1 | Street | Suite | City | State | Label | |
| 2 | 1420 Harbor Rd | Cleveland | OH | |||
| 3 | 88 Fenwick Ave | Suite 300 | San Antonio | TX | ||
| 4 | 7 Alder Ct | Providence | RI | |||
| 5 | 215 Riverbend Way | Unit 12 | Grand Rapids | MI | ||
| 6 |
Combine separate address fields into one line, skipping blanks.
TEXTJOIN
Join a category prefix and an item number into a single SKU.
CONCAT
Pull the first name out of a single full-name column.
LEFT · FIND