AdvancedText Functions
Extract a lot number from a messy code
Pull a fixed-length value out of the middle of a code that varies in shape.
MID · FIND
12 min35 points
Harbor Supply's shipping export writes destinations as one field — Cleveland, OH — and the new carrier portal wants city and state in separate columns. City names vary in length, so counting characters will not survive the second row.
| Row number | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Location | City | |||
| 2 | Cleveland, OH | ||||
| 3 | San Antonio, TX | ||||
| 4 | Providence, RI | ||||
| 5 | Grand Rapids, MI | ||||
| 6 | Charleston, SC | ||||
| 7 |
Pull the first name out of a single full-name column.
LEFT · FIND
Take the trailing two-letter state abbreviation off the end of a territory code.
RIGHT
Read a code's prefix and translate it into a readable category name.
IFS · LEFT