TX Sheet Control

TEXTSPLIT Function

Function

Split text into columns and rows at delimiters. col_delimiter splits text into columns and row_delimiter into rows; the result spills into the neighboring cells. ignore_empty TRUE skips empty values between two delimiters, match_mode 1 makes the delimiters case-insensitive, and pad_with fills the cells of shorter rows, which otherwise return #N/A. In TX Sheet Control, a delimiter must be a single text: an array of delimiters returns #VALUE!.

Syntax

TEXTSPLIT(text, col_delimiter, row_delimiter, ignore_empty, match_mode, pad_with)

Category: Text. Minimum arguments: 2. Maximum arguments: 6.

Available for supported offline calculation.

Examples

=TEXTSPLIT("a,b;c,d",",",";")

The formula spills a and b into the first row and c and d into the second.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also