Bird
Raised Fist0
Google Sheetsspreadsheet~8 mins

Split text to columns in Google Sheets - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - Split text to columns
Goal

We want to separate full names into first and last names automatically. This helps us organize data better.

Sample Data
Full NameAge
John Smith28
Mary Johnson34
Linda Lee45
James Brown22
Patricia Davis31
Dashboard Components
  • Original Data Table: Shows full names and ages as entered.
  • First Name Column: Formula in C2: =INDEX(SPLIT(A2, " "), 1) extracts the first name from the split text.
  • Last Name Column: Formula in D2: =INDEX(SPLIT(A2, " "), 2) extracts the last name from the split text.
  • Age Column: Copied from original data for reference.

Formulas are dragged down from row 2 to row 6 to cover all data.

Dashboard Layout
+----------------+-----+------------+-----------+
| Full Name      | Age | First Name | Last Name |
+----------------+-----+------------+-----------+
| John Smith     | 28  | John       | Smith     |
| Mary Johnson   | 34  | Mary       | Johnson   |
| Linda Lee      | 45  | Linda      | Lee       |
| James Brown    | 22  | James      | Brown     |
| Patricia Davis | 31  | Patricia   | Davis     |
+----------------+-----+------------+-----------+
Interactivity

You can add a filter on the Age column to show only people above or below a certain age. When you filter, the First Name and Last Name columns update automatically because they depend on the Full Name column.

Self Check

Add a filter to show only rows where Age is greater than 30. Which first and last names remain visible?

Key Result
Split full names into first and last names using formulas in Google Sheets.

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