Bird
Raised Fist0
Google Sheetsspreadsheet~15 mins

Split text to columns in Google Sheets - Real Business Scenario

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales assistant at a retail company.
📋 Request: Your manager wants you to organize customer contact information by separating full names into first and last names in the spreadsheet.
📊 Data: You have a list of customers with their full names in one column, and you need to split these names into two separate columns: First Name and Last Name.
🎯 Deliverable: A cleaned spreadsheet where the full names are split into First Name and Last Name columns for easier sorting and filtering.
Progress0 / 5 steps
Sample Data
Customer IDFull NameEmail
101John Smithjohn.smith@example.com
102Mary Johnsonmary.johnson@example.com
103James Brownjames.brown@example.com
104Patricia Taylorpatricia.taylor@example.com
105Michael Davismichael.davis@example.com
106Linda Wilsonlinda.wilson@example.com
107Robert Moorerobert.moore@example.com
108Barbara Clarkbarbara.clark@example.com
1
Step 1: Insert two new columns to the right of the 'Full Name' column and label them 'First Name' and 'Last Name'.
No formula needed for this step.
Expected Result
Two empty columns named 'First Name' and 'Last Name' appear next to 'Full Name'.
2
Step 2: In the first cell under 'First Name' (e.g., C2), enter a formula to extract the first name from the full name.
=INDEX(SPLIT(B2, " "), 1)
Expected Result
The first name 'John' appears in cell C2.
3
Step 3: In the first cell under 'Last Name' (e.g., D2), enter a formula to extract the last name from the full name.
=INDEX(SPLIT(B2, " "), 2)
Expected Result
The last name 'Smith' appears in cell D2.
4
Step 4: Copy the formulas in C2 and D2 down the columns to fill all rows with first and last names.
Drag the fill handle from C2 and D2 down to row 9.
Expected Result
All full names are split into first and last names in their respective columns.
5
Step 5: Alternatively, use the built-in 'Split text to columns' feature to separate the full names.
Select the 'Full Name' column, then go to Data > Split text to columns, and choose Space as the separator.
Expected Result
The 'Full Name' column splits into two columns automatically with first and last names.
Final Result
Customer ID | First Name | Last Name | Email
----------------------------------------------------------
101         | John       | Smith     | john.smith@example.com
102         | Mary       | Johnson   | mary.johnson@example.com
103         | James      | Brown     | james.brown@example.com
104         | Patricia   | Taylor    | patricia.taylor@example.com
105         | Michael    | Davis     | michael.davis@example.com
106         | Linda      | Wilson    | linda.wilson@example.com
107         | Robert     | Moore     | robert.moore@example.com
108         | Barbara    | Clark     | barbara.clark@example.com
✓Splitting full names into first and last names makes sorting and filtering easier.
✓Using the SPLIT formula or the built-in feature both achieve the goal efficiently.
✓Organized data improves clarity and helps with customer communication.
Bonus Challenge

Modify the formula to handle middle names or multiple spaces in full names, extracting only the first and last names.

Show Hint
Use the INDEX and SPLIT functions together, for example: =INDEX(SPLIT(B2, " "), 1) for first name and =INDEX(SPLIT(B2, " "), COUNTA(SPLIT(B2, " "))) for last name.

Practice

(1/5)
1. What does the SPLIT function do in Google Sheets?
easy
A. It breaks text into separate cells based on a chosen separator.
B. It combines multiple cells into one cell.
C. It changes the font style of the text.
D. It sorts data alphabetically.

Solution

  1. Step 1: Understand the purpose of SPLIT

    The SPLIT function is designed to divide text into multiple parts based on a separator.
  2. Step 2: Compare options with SPLIT's function

    Only It breaks text into separate cells based on a chosen separator. correctly describes this behavior; others describe different functions.
  3. Final Answer:

    It breaks text into separate cells based on a chosen separator. -> Option A
  4. Quick Check:

    SPLIT = breaks text by separator [OK]
Hint: Remember: SPLIT separates text into columns by delimiter [OK]
Common Mistakes:
  • Confusing SPLIT with CONCATENATE or JOIN
  • Thinking SPLIT changes text formatting
  • Assuming SPLIT sorts data
2. Which of the following is the correct syntax to split 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 separator for commas is "," and arguments are separated by commas in Google Sheets formulas.
  2. Step 2: Check each option's syntax

    =SPLIT(A1, ",") uses correct comma separator and argument separator. =SPLIT(A1; ",") uses semicolon which is invalid in Google Sheets. =SPLIT(A1, ',') uses single quotes which are not accepted for string literals in formulas. =SPLIT(A1, ";") uses wrong separator ";".
  3. Final Answer:

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

    Correct syntax uses commas and double quotes [OK]
Hint: Use commas to separate arguments and double quotes for text [OK]
Common Mistakes:
  • Using semicolons instead of commas between arguments
  • Using single quotes instead of double quotes for strings
  • Using wrong separator character
3. Given cell A1 contains "John,Doe,35,New York", what will =SPLIT(A1, ",") output?
medium
A. John,Doe,35,New York (unchanged)
B. John Doe 35 New York (all in one cell)
C. John | Doe | 35 | New York (each in separate cells horizontally)
D. Error: Invalid separator

Solution

  1. Step 1: Understand SPLIT behavior on comma-separated text

    SPLIT divides text at each comma and places each part into adjacent cells horizontally.
  2. Step 2: Apply SPLIT to given text

    Text "John,Doe,35,New York" splits into "John", "Doe", "35", and "New York" in separate cells.
  3. Final Answer:

    John | Doe | 35 | New York (each in separate cells horizontally) -> Option C
  4. Quick Check:

    SPLIT divides text by commas into columns [OK]
Hint: SPLIT breaks text into columns at each separator [OK]
Common Mistakes:
  • Expecting all text in one cell after SPLIT
  • Thinking SPLIT returns an error for commas
  • Confusing SPLIT with CONCATENATE
4. You used =SPLIT(A1, ",") but all text remains in one cell. What is the likely problem?
medium
A. Google Sheets does not support SPLIT.
B. The SPLIT function is misspelled.
C. The formula is missing an equal sign.
D. The separator in the text is not a comma.

Solution

  1. Step 1: Check if separator matches text content

    If the text in A1 does not contain commas, SPLIT with comma separator won't split anything.
  2. Step 2: Verify other options

    SPLIT is spelled correctly, formula has equal sign, and Google Sheets supports SPLIT, so these are not issues.
  3. Final Answer:

    The separator in the text is not a comma. -> Option D
  4. Quick Check:

    Separator must match text content for SPLIT to work [OK]
Hint: Match separator exactly to text characters [OK]
Common Mistakes:
  • Using wrong separator character
  • Forgetting equal sign in formula
  • Assuming SPLIT is unsupported
5. You have a list of full names in column A like "Jane Smith". How do you split first and last names into columns B and C using SPLIT?
hard
A. =SPLIT(A1, ",")
B. =SPLIT(A1, " ")
C. =SPLIT(A1, "-")
D. =SPLIT(A1, ";")

Solution

  1. Step 1: Identify the separator in full names

    Full names like "Jane Smith" are separated by a space character.
  2. Step 2: Use SPLIT with space separator

    Using =SPLIT(A1, " ") splits the name into first and last names into adjacent columns.
  3. Final Answer:

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

    Split full names by space to separate first and last [OK]
Hint: Use space " " as separator for splitting names [OK]
Common Mistakes:
  • Using comma or other wrong separators
  • Not using quotes around separator
  • Trying to split without specifying separator
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