0
0
Google Sheetsspreadsheet~20 mins

SPLIT function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
SPLIT Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
Output of SPLIT with multiple delimiters
What is the output of the formula =SPLIT("apple,banana;cherry|date", ",;|") in Google Sheets?
Google Sheets
=SPLIT("apple,banana;cherry|date", ",;|")
A["apple", "banana", "cherry", "date"]
B["apple,banana;cherry|date"]
C["apple", "banana;cherry|date"]
D["apple", "banana", "cherry|date"]
Attempts:
2 left
💡 Hint
Remember SPLIT can use multiple characters as delimiters if listed in the second argument.
📊 Formula Result
intermediate
1:30remaining
SPLIT with empty delimiter
What happens when you use =SPLIT("hello", "") in Google Sheets?
Google Sheets
=SPLIT("hello", "")
AError: SPLIT delimiter cannot be empty
B["hello"]
C["h e l l o"]
D["h", "e", "l", "l", "o"]
Attempts:
2 left
💡 Hint
Think about whether SPLIT accepts an empty string as a delimiter.
Function Choice
advanced
1:30remaining
Choosing the right function to split text into columns
You have a cell with text "John|Doe|35|Engineer". Which formula correctly splits this text into separate columns by the pipe character?
A=TEXTSPLIT(A1, "|")
B=SPLIT(A1, "|")
C=SPLIT(A1, " ")
D=SPLIT(A1, ",")
Attempts:
2 left
💡 Hint
Check which delimiter matches the text separator.
🎯 Scenario
advanced
2:00remaining
Splitting text but keeping some delimiters
You want to split the text "red,green;blue|yellow" into separate cells by comma, semicolon, or pipe, but keep the semicolon as part of the output. Which formula achieves this?
A=SPLIT("red,green;blue|yellow", ",|") with SUBSTITUTE to replace semicolon
B=SPLIT("red,green;blue|yellow", ",;|")
C=SPLIT(SUBSTITUTE("red,green;blue|yellow", ";", "[semi]"), ",|")
D=SPLIT("red,green;blue|yellow", ",|")
Attempts:
2 left
💡 Hint
Try replacing the semicolon with a unique string before splitting.
data_analysis
expert
2:00remaining
Counting items after SPLIT
Given cell A1 contains "cat,dog,bird,fish", which formula correctly counts how many items result from =SPLIT(A1, ",")?
A=COUNT(SPLIT(A1, ","))
B=LEN(SPLIT(A1, ","))
C=COUNTIF(SPLIT(A1, ","), "*")
D=COUNTA(SPLIT(A1, ","))
Attempts:
2 left
💡 Hint
Think about which function counts non-empty text cells.