Challenge - 5 Problems
SPLIT Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate1: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", ",;|")
Attempts:
2 left
💡 Hint
Remember SPLIT can use multiple characters as delimiters if listed in the second argument.
✗ Incorrect
The SPLIT function splits the text at any character found in the delimiter string. Here, comma, semicolon, and pipe are delimiters, so the text splits into four parts.
📊 Formula Result
intermediate1:30remaining
SPLIT with empty delimiter
What happens when you use
=SPLIT("hello", "") in Google Sheets?Google Sheets
=SPLIT("hello", "")
Attempts:
2 left
💡 Hint
Think about whether SPLIT accepts an empty string as a delimiter.
✗ Incorrect
SPLIT requires a non-empty delimiter. Using an empty string as delimiter causes an error.
❓ Function Choice
advanced1: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?Attempts:
2 left
💡 Hint
Check which delimiter matches the text separator.
✗ Incorrect
The pipe character "|" is the delimiter in the text. SPLIT with "|" correctly separates the text into columns.
🎯 Scenario
advanced2: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?Attempts:
2 left
💡 Hint
Try replacing the semicolon with a unique string before splitting.
✗ Incorrect
Replacing semicolon with a unique string prevents SPLIT from splitting at semicolons, so semicolons stay in output.
❓ data_analysis
expert2:00remaining
Counting items after SPLIT
Given cell A1 contains
"cat,dog,bird,fish", which formula correctly counts how many items result from =SPLIT(A1, ",")?Attempts:
2 left
💡 Hint
Think about which function counts non-empty text cells.
✗ Incorrect
COUNTA counts non-empty cells, so it correctly counts the number of items after SPLIT. COUNT counts numbers only, LEN returns length of first item, COUNTIF with "*" counts non-empty but is less direct.