GmSWP‖

mCixC‖TEXTSPLIT

esNA8‖Splits text by a given delimiter to an array of multiple cells.

note

iZ2w7‖Enter the formula as an array formula. Hint: enter formula using keys Ctrl + Shift + Enter.


ebLBc‖Syntax

dxTDq‖TEXTSPLIT(Text [; Column Delimiter [; Row Delimiter [; Ignore Empty [; Match Mode [; Pad With ]]]]])

J7wSk‖Text: (optional) the text to split.

Euuxu‖Column Delimiter: (optional) the text to delimit the columns. Multiple delimiters can be supplied.

Pqzhk‖Row Delimiter: (optional) the text to delimit the rows. Multiple delimiters can be supplied.

j3omS‖Ignore Empty: (optional) set to TRUE to ignore consecutive delimiters otherwise creates an empty cell. The default to FALSE.

aFiwx‖Match mode: (optional) set to 1 to perform a case-insensitive match otherwise does a case-sensitive match. The default to 0.

y4rDQ‖Pad with: (optional) the value with which to pad. The default is #N/A.

note

s37P8‖Any of the optional arguments can be omitted. An optional argument requires all preceding separators to be present.


GAZG2‖Examples

W4wN3‖If cell A1 contains "AA,BB,,CC/DD,EE,FF/GG,HH,II,JJ", then

Vnbsd‖{=TEXTSPLIT(A1;",";"/";FALSE();1;"@@@")} returns the following array:

AA

BB

CC

DD

EE

FF

@@@

GG

HH

II

JJ


XAFa7‖Technical information

tip

QgTYx‖This function is available since LibreOfficeDev 25.8.


2C7vt‖This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.TEXTSPLIT