Skip to content

Split Columns (Text to Columns)

Premiumintermediate 15 min4 tasks0/54 pts

Text to Columns splits one column into several at a delimiter, such as the comma in Smith, John. The formula version updates when the data changes: TEXTBEFORE returns everything before the delimiter, and TEXTAFTER returns everything after it. In older Excel, use LEFT with FIND to locate the delimiter.

Syntax

TEXTBEFORE(text, delimiter) ยท TEXTAFTER(text, delimiter) ยท LEFT(text, FIND(delimiter, text)-1)

Example: =TEXTBEFORE("Smith, John",", ") returns Smith, and =TEXTAFTER("Smith, John",", ") returns John.

Common mistakes

  • Splitting on "," and keeping the leading space in the second part. Split on ", " instead.
  • Forgetting the -1 with LEFT/FIND, which keeps the comma.
  • Running Text to Columns over data to the right and overwriting it.

Read the lesson, then try it yourself in a live spreadsheet.