Bird
Raised Fist0
Google Sheetsspreadsheet~20 mins

SPLIT function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style10 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.

Practice

(1/5)
1. What does the SPLIT function do in Google Sheets?
easy
A. It finds the largest number in a list.
B. It breaks text into parts based on a separator.
C. It changes text to uppercase.
D. It adds numbers together.

Solution

  1. Step 1: Understand the purpose of SPLIT

    The SPLIT function is designed to separate text into smaller pieces using a character or characters as a divider.
  2. Step 2: Compare options with SPLIT's function

    Only It breaks text into parts based on a separator. describes breaking text into parts, which matches SPLIT's behavior.
  3. Final Answer:

    It breaks text into parts based on a separator. -> Option B
  4. Quick Check:

    SPLIT breaks text = It breaks text into parts based on a separator. [OK]
Hint: Remember: SPLIT cuts text by chosen characters [OK]
Common Mistakes:
  • Confusing SPLIT with math functions
  • Thinking SPLIT changes text case
  • Assuming SPLIT finds max or min values
2. Which of these is the correct syntax to split the text in cell A1 by commas?
easy
A. =SPLIT(A1, ";")
B. =SPLIT(A1; ",")
C. =SPLIT(A1, ",")
D. =SPLIT(A1)

Solution

  1. Step 1: Identify correct separator and syntax

    The SPLIT function requires the text and the separator as arguments, separated by commas. The separator here is a comma ",".
  2. Step 2: Check each option's syntax

    =SPLIT(A1, ",") uses commas correctly and the right separator. =SPLIT(A1; ",") uses semicolon which is invalid in Google Sheets formulas. =SPLIT(A1, ";") uses wrong separator ";". =SPLIT(A1) misses the separator argument.
  3. Final Answer:

    =SPLIT(A1, ",") -> Option C
  4. Quick Check:

    Correct syntax with comma separator = =SPLIT(A1, ",") [OK]
Hint: Use commas to separate arguments, specify separator in quotes [OK]
Common Mistakes:
  • Using semicolons instead of commas
  • Forgetting to put separator in quotes
  • Omitting the separator argument
3. Given cell A1 contains "apple,banana,cherry", what will =SPLIT(A1, ",") return?
medium
A. ["apple,banana,cherry"] as one cell
B. Error because separator is missing
C. ["apple"; "banana"; "cherry"] in separate cells vertically
D. ["apple", "banana", "cherry"] in separate cells horizontally

Solution

  1. Step 1: Understand SPLIT behavior with comma separator

    SPLIT breaks text at each comma and places each piece in adjacent cells horizontally by default.
  2. Step 2: Analyze the output for given input

    Input text "apple,banana,cherry" splits into "apple", "banana", and "cherry" placed side by side in cells.
  3. Final Answer:

    ["apple", "banana", "cherry"] in separate cells horizontally -> Option D
  4. Quick Check:

    Split by comma = horizontal cells with parts [OK]
Hint: SPLIT places parts horizontally by default [OK]
Common Mistakes:
  • Expecting vertical split without specifying
  • Thinking output stays in one cell
  • Confusing separator presence
4. The formula =SPLIT(A1, ",", "TRUE") gives an error. What is the likely cause?
medium
A. The third argument TRUE is invalid for SPLIT.
B. The separator must be a number, not a string.
C. The separator argument is missing.
D. SPLIT does not accept more than two arguments.

Solution

  1. Step 1: Review SPLIT function arguments

    SPLIT accepts up to four arguments: text, delimiter, split_by_each (TRUE/FALSE), and remove_empty_text (TRUE/FALSE). The third argument is split_by_each and must be a boolean.
  2. Step 2: Check if TRUE is valid here

    The third argument is "TRUE" (a string), but SPLIT expects a boolean TRUE/FALSE (without quotes) for split_by_each. A string causes a type mismatch error.
  3. Final Answer:

    The third argument TRUE is invalid for SPLIT. -> Option A
  4. Quick Check:

    Check argument types carefully [OK]
Hint: Check argument count and types carefully [OK]
Common Mistakes:
  • Assuming SPLIT only takes two arguments
  • Confusing separator type requirements
  • Ignoring optional arguments
5. You have a cell A1 with text "John;Doe;30;New York". How do you split this text into separate cells vertically (one below another) using SPLIT?
hard
A. =TRANSPOSE(SPLIT(A1, ";"))
B. =SPLIT(A1, ";", TRUE)
C. =SPLIT(A1, ";", FALSE, TRUE)
D. =SPLIT(A1, ";")

Solution

  1. Step 1: Understand SPLIT default behavior

    SPLIT splits text into cells horizontally by default, so the parts appear side by side.
  2. Step 2: Use TRANSPOSE to convert horizontal output to vertical

    Wrapping SPLIT with TRANSPOSE changes the horizontal array into a vertical one, placing each part in cells below each other.
  3. Final Answer:

    =TRANSPOSE(SPLIT(A1, ";")) -> Option A
  4. Quick Check:

    Use TRANSPOSE to switch horizontal to vertical [OK]
Hint: Wrap SPLIT with TRANSPOSE for vertical output [OK]
Common Mistakes:
  • Expecting SPLIT alone to split vertically
  • Misusing optional arguments for vertical split
  • Forgetting to use TRANSPOSE for vertical layout
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard