Divides text around a specified character or string, and puts each fragment into a separate cell in the row. Learn more
The SPLIT() function in Google Sheets is used to divide a text string into separate parts based on a specified delimiter. Here is the syntax of the SPLIT() function:
SPLIT(text, delimiter, [splitbyeach], [removeemptytext])
text: This is the text or cell reference containing the string to be split.
delimiter: This is the character or sequence of characters that will be used to split the text. It can be a single character or multiple characters.
splitbyeach (optional): This parameter is a boolean value (TRUE/FALSE) that determines whether each character in the delimiter should be treated individually.
By default, this parameter is set to FALSE. If set to TRUE, each character in the delimiter will be treated as a separate delimiter.
removeemptytext (optional): This parameter is also a boolean value (TRUE/FALSE) that determines whether empty text elements should be included in the result.
By default, this parameter is set to FALSE. If set to TRUE, empty text elements will be removed from the result.
The SPLIT() function returns an array of values resulting from the split operation. Each element in the array represents a part of the original text string that was separated by the delimiter.
Here's an example usage:
=SPLIT("apple,banana,orange", ",")
In this example, the function will split the text "apple,banana,orange" using the comma (",") as the delimiter. The result will be an array with three elements: "apple", "banana", and "orange".