
Extract a specific word from space-separated text using a zero-based index. Useful when you need one part of a name, label, or code.
The ExcelClash SPLIT function returns one word from a space-separated text string. It uses a zero-based index, so the first word is 0, the second word is 1, and so on.
SPLIT works well when one cell contains a short label such as a full name, a location, or a product description, and you only need one part of it. Instead of building a longer formula with character positions, you can request the word directly by index.
Splits text at spaces and returns the word at the index you request.
Returns a single word as text. If the requested index does not exist, the formula returns an error.
=SPLIT(text, index)
Use text for the source string and index for the word you want to return. Because the index starts at 0, =SPLIT("Alpha Beta Gamma", 2) returns "Gamma".
SPLIT is designed for simple word-based extraction. If the text is separated by spaces and you only need one piece, it is shorter than building the same result with character-based formulas.
| Function | Primary Role | Typical Output | Use When |
|---|---|---|---|
SPLIT |
Return one word by zero-based index | Specific word | You need one word from a space-separated string |
MID |
Extract text by character position | Character slice | You know the exact start position and length |
TEXTSPLIT |
Return all segments | Spilled array | You want to place each segment in separate cells |
LEFT |
Return characters from the start | Leading text | You need a fixed number of leading characters |
SPLIT works best when the text follows a simple space-separated pattern. For example, if one cell contains a full name, you can return the first name with index 0 or the second word with index 1. The same idea works for location labels, short descriptions, and category strings.
If the source text may contain extra spaces, clean it with TRIM first. If some rows may not contain enough words, wrap the formula in IFERROR so the sheet shows a fallback result instead of an error.
This is the basic pattern: return the first word from a longer text string. Because the count starts at 0, index 0 points to the first word.
=SPLIT("John Jacob Jingleheimer", 0) // Returns "John"
Extract the first word (index 0) from "John Jacob Jingleheimer". Formula: =SPLIT("John Jacob Jingleheimer", 0).
Changing the index changes which word is returned. Here, index 1 returns the second word, which is useful when the part you need is not at the beginning of the string.
=SPLIT(B1, 1) // Returns the second word in the cell
Extract the second word (index 1) from "Bandung West Java" located in cell B1. Formula: =SPLIT(B1, 1).
SPLIT can also feed a logical test. In this example, the formula checks whether the first word is "Bandung". This is useful in helper columns, filters, and validation rules.
=SPLIT(B1, 0)="Bandung" // Returns TRUE if the first word is "Bandung"
Check if the first word of B1 matches "Bandung" using boolean logic. Formula: =SPLIT(B1, 0)="Bandung".
If the requested word does not exist, SPLIT returns an error. Wrapping it in IFERROR lets you return a fallback value instead, which is easier to read in a report.
=IFERROR(SPLIT(C1, 3), "Not Found") // Shows "Not Found" if there is no 4th word
Request index 3 from "one two" in C1 and wrap with IFERROR to return "Not Found". Formula: =IFERROR(SPLIT(C1, 3), "Not Found").
SPLIT returns a specific word from space-separated text.=SPLIT(text, index).IFERROR when some rows may not contain enough words.Tell your friends about this post