Excel beginner textsplit split text left

Split Text Into Columns With Excel Formulas

Split Text With Formulas is a Excel function that textsplit (excel 365) splits text at the specified delimiter and spills the results across columns. Formula Genius generates and validates this formula automatically from a plain-English prompt.

Extract first names, last names, domains, or any delimited data using formulas instead of the Text to Columns wizard.

The Formula

Prompt

"Split a full name into first name and last name"

Excel
=TEXTSPLIT(A2," ")

TEXTSPLIT (Excel 365) splits text at the specified delimiter and spills the results across columns. For a full name with a space delimiter, it returns first name in one cell and last name in the next.

Step-by-Step Breakdown

  1. A2 contains the full name (e.g., "John Smith")
  2. " " is the delimiter — split at the space character
  3. Results spill horizontally: first name in the current cell, last name in the next
  4. For older Excel: =LEFT(A2,FIND(" ",A2)-1) gets the first name
  5. For older Excel: =MID(A2,FIND(" ",A2)+1,100) gets the last name

Edge Cases & Warnings

  • Names with multiple spaces (e.g., "Mary Jane Watson") split into 3+ columns
  • No space in the text returns the full text in one cell
  • TEXTSPLIT requires Excel 365 — use LEFT/MID/FIND for older versions
  • Leading or trailing spaces can cause empty result cells — use TRIM first

Examples

Prompt

""John Smith""

Excel
"John" | "Smith"
Prompt

""Mary Jane Watson""

Excel
"Mary" | "Jane" | "Watson"

Frequently Asked Questions

Does TEXTSPLIT work in Google Sheets?

Google Sheets uses SPLIT() instead: =SPLIT(A2," "). Same concept, different function name.

How do I split by comma instead of space?

Change the delimiter: =TEXTSPLIT(A2,","). For CSV data, this extracts each field into its own column.

Can't find what you need?

Describe any formula in plain English and Formula Genius will generate, explain, and validate it — instantly.