Ghost Sheet

TEXTSPLIT: one line of text into a table

How do I split “City, State, ZIP; City, State, ZIP” into columns and rows?

This is the task for this topic. It is part of the plan; the level check before it is free.
A5Type a formula for A5, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1Route line from the carrier portal
2Mesa, AZ, 85201; Albany, NY, 12207; Tampa, FL, 33602; Portland, ME, 04101; Salem, OR, 97301; Newark, NJ, 07102
3
4CityStateZIP
5
6
7
8
9
10
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
TEXTSPLIT cuts text at a column separator and, if you give one, at a row separator, and spills the pieces as a table. Split on the bare comma and wrap the result in TRIM, so uneven spaces around separators do not matter. The pieces stay text, so ZIP codes keep leading zeros.
The shape of the formula
=TRIM(TEXTSPLIT(text, ",", ";"))
How to remember it
Split on the plain character, then trim.
The usual mistake
Splitting on “, ” with a space. One stop typed without the space stays glued together.

Keep practicing

Updated