Skip to content

Split text into columns

Break "red, green, blue" into separate cells with one formula.

The formula

Argument separator
Excel · Excel 365 only
=TEXTSPLIT(A2, ", ")
Google Sheets
=SPLIT(A2, ", ", FALSE)

How it works

  1. A2

    The text to split.

  2. ", "

    The delimiter. In SPLIT, FALSE makes it treat ", " as one delimiter instead of splitting at each character.

Example

A: TagsBCD
red, green, blueredgreenblue
small, largesmalllarge

Tips

  • The results spill into the cells to the right, so keep them empty.
  • In older Excel use Data > Text to Columns instead.