Google Sheets SPLIT Function

This post will guide you how to use Google Sheets SPLIT function with syntax and examples.

Description


The Google Sheets SPLIT function used to divide text string around a specified character or delimiter and put each separate pieces into a separate cell in the row.

The SPLIT function can be used to divide a text string or text value around a given delimiter in google sheets.  The purpose of this function is to split a text string based on a delimiter.

The SPLIT function is a build-in function in Google Sheets and it is categorized as a Text Function.

Syntax


The syntax of the SPLIT function is as below:

=SPLIT(text, delimiter, [split_by_each], [remove_empty_text])

Where the SPLIT function arguments are:

  • text -This is a required argument. The text string or value that you want to split. It can also be a cell reference or a cell or the output of a nested formula. it should be a string and not an array result.
  • delimiter -This is a required argument. The delimiter is the character or characters that used to split the text. By default, each character in delimiter is considered individually.  For example, if delimiter is “test”, then text string is divided around the characters “t”,”h” and “e”.  You can set split_by_each argument to FALSE to disable this behavior.
  • split_by_each -This is an optional argument. This argument will control whether or not to divide text around each character contained in delimiter argument. The default value is TRUE. And the TRUE behavior will split text by individual characters in the delimiter. And The FALSE behavior only divides text by the entire delimiter.
  • remove_empty_text – This is an optional argument. This argument will control whether or not to remove empty text messages from the split results. The default value is TRUE.

Note:

  • Delimiters are case sensitive. So “lowercase “g” is only splits on lower-cases g’s in the text string.
  • The SPLIT function requires enough cells for its output. If it splits a text string into 3 elements, and it requires 3 empty cells on the same row to place them. If there is already data in those cells, it does not overwrite those cells, then it shows a #REF! error message.

Google Sheets SPLIT Function Examples


The below examples will show you how to use google sheets SPLIT function to split a text string around a given delimiter.

#1  To separate a list of names in Cell B1 with “,” delimiter character, just using the following formula:

=SPLIT(B1,”,”)

google sheets split function

The above SPLIT formula will separate names using the comma character as a delimiter. And the result is 4 cells, and each cell contain a name.  and you can notice that there is one blank cell, because the text string in Cell B1 has two adjacent commas with a space character between those two commas.

 

 

 

 

 

 

 

Related Posts

Google Sheets TIMEVALUE Function
google sheets timevalue function1

This post will guide you how to use Google Sheets TIMEVALUE function with syntax and examples. Description The Google Sheets TIMEVALUE returns the decimal number of the time represented by a text string. It will convert a time represented by ...

Google Sheets TODAY Function
google sheets today function

This post will guide you how to use Google Sheets TODAY function with syntax and examples. Description The Google Sheets TODAY function get the current date as a date value. And it will be updated each time when your worksheet ...

Google Sheets TIME Function
google sheets time function1

This post will guide you how to use Google Sheets TIME function with syntax and examples. Description The Google Sheets TIME function converts an hour, minute and second into a time. The TIME function can be used to create a ...

Google Sheets SECOND Function
google sheets second function1

This post will guide you how to use Google Sheets SECOND function with syntax and examples. Description The Google Sheets SECOND function returns the seconds of a time value. Or returns an integer value that represent the second component of ...

Google Sheets NOW Function
google sheets now function1

This post will guide you how to use Google Sheets NOW function with syntax and examples. Description The Google Sheets NOW function returns the serial number of the current date and time. And it will be updated each time when ...

Google Sheets NETWORKDAYS.INTL Function
google sheets networkdays.intl function1

This post will guide you how to use Google Sheets NETWORKDAYS.INTL function with syntax and examples. Description The Google Sheets NETWORKDAYS.INTL function returns the number of net working days between tow given days excluding specified weekend days and holidays. The ...

Google Sheets NETWORKDAYS Function
google sheets networkdays function1

This post will guide you how to use Google Sheets NETWORKDAYS function with syntax and examples. Description The Google Sheets NETWORKDAYS function returns the number of net working days between tow given days. The NETWORKDAYS function can be used to ...

Google Sheets MONTH Function
google sheets month function1

This post will guide you how to use Google Sheets MONTH function with syntax and examples. Description The Google Sheets MONTH function returns the month of a date represented by a serial number. And the month is an integer number ...

Google Sheets MINUTE Function
google sheets minute function1

This post will guide you how to use Google Sheets MINUTE function with syntax and examples. Description The Google Sheets MINUTE returns the minutes of a time value. And the minutes is an integer number from 0 to 59. So ...

Google Sheets ISOWEEKNUM Function
google sheets isoweeknum function1

This post will guide you how to use Google Sheets ISOWEEKNUM function with syntax and examples. Description The Google Sheets ISOWEEKNUM returns the number of the ISO week of the year for a given date. ISO weeks begin on Monday ...

Sidebar