SPLIT function - Zoho Sheet - Help Guide

SPLIT

Divides the given text by a specified character or string, and places each fragment in the adjacent cells in a row.

 

Syntax

 

SPLIT(text, delimiter, [split_by], [remove_blank])

text: The text to be split. E.g. A2

delimiter: The character(s) by which the text must be split. E.g. "@"

split_by: Logical value which indicates how the delimiter must be treated. Defaults to TRUE if omitted.

TRUE - Each character is treated as a separate delimiter. Eg., If the delimiter is "ab", the given text will be split by "a" and "b".

FALSE - The given characters in the delimiter are treated as one. Eg., If the delimiter is "ab", the given text will be split by "ab".

remove_blank: Logical value that specifies whether to ignore the empty text values in the result. Defaults to TRUE if omitted.

TRUE - Ignores the empty values between delimiters.

FALSE - Includes the empty values in the result.

 

Examples

 

Formula

=SPLIT(A2;"@")

=SPLIT(A3,"@.",TRUE)


Get a hands-on experience of the function in the embedded range below.   



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.