Skip to main content
← All functions

TEXTSPLIT function

Splits text strings by using column and row delimiters

Syntax

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

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
textYesThe text to split.A1:C2
col_delimiterYesThe character or string by which to split the column.","
row_delimiterNoThe character or string on which to split the line.";"
ignore_emptyNoWhether to ignore empty cells. The default is FALSE.
match_modeNoSearches for a delimiter match in the text. By default, a case-sensitive match is done.
pad_withNoThe value to use for padding. By default, #N/A is used.

Try TEXTSPLIT

Preserve empty records and pad shorter rows

=TEXTSPLIT(A2,"|",CHAR(10),FALSE,0,"")

FALSE keeps blank fields and records. Short rows receive empty text padding, and the final LF produces a fourth record; the full four-by-three shape is checked.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

TEXTSPLIT · top-level call

=TEXTSPLIT(A2,"|",CHAR(10),FALSE,0,"")

1 / 6 · text

The text to split.

TEXTSPLIT reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Practice a complete task

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.