=TEXTSPLIT(text, col_delimiter, [row_delimiter], [ignore_empty], [match_mode], [pad_with])
=TEXTSPLIT(B3,",")
The TEXTSPLIT function takes a text string and separates it into individual pieces based on a delimiter. The text string in cell B3 is split into individual pieces separated by a comma. The result is a set of values {"Red","Blue","Green"}.
=TEXTSPLIT(B3,,",")
The text string in cell B3 is split into individual pieces separated by a semicolon. The result is a set of values {"Red";"Blue";"Green"}.
=TEXTSPLIT(B3,",",,TRUE)
The TEXTSPLIT function also allows you to ignore empty values. The text string in cell B3 is split into individual pieces separated by a comma and any empty values are ignored. The result is a set of values {"Red","Blue","Green"}.
The Text-split function is a tool that works the same way as the Text-to-Columns wizard, allowing users to quickly divide text into separate columns.