Bird
Raised Fist0
Google Sheetsspreadsheet~8 mins

SPLIT function in Google Sheets - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - SPLIT function
Goal

Split full names into first and last names automatically for easier sorting and analysis.

Sample Data
Full NameFirst NameLast NameDepartmentSalary
John SmithJohnSmithSales50000
Mary JohnsonMaryJohnsonMarketing55000
Linda LeeLindaLeeHR48000
James BrownJamesBrownIT60000
Patricia DavisPatriciaDavisFinance62000
Dashboard Components
  • First Name Column: Formula =INDEX(SPLIT(A2," "),1) entered in B2 and dragged down. This extracts the first name from the full name in A2.
  • Last Name Column: Formula =INDEX(SPLIT(A2," "),2) entered in C2 and dragged down. This extracts the last name from the full name in A2.
  • Total Salary: Formula =SUBTOTAL(9,E2:E6) in cell E7 to show total salary of visible employees.
  • Average Salary: Formula =SUBTOTAL(1,E2:E6) in cell E8 to show average salary of visible employees.
  • Department Count: Formula =COUNTA(UNIQUE(FILTER(D2:D6,SUBTOTAL(3,OFFSET(D2,ROW(D2:D6)-ROW(D2),0,1))))) in cell E9 to count unique visible departments.
Dashboard Layout
+----------------+----------------+----------------+----------------+----------------+
| Full Name (A)  | First (B)      | Last (C)       | Dept (D)       | Salary (E)     |
+----------------+----------------+----------------+----------------+----------------+
| John Smith     | John           | Smith          | Sales          | 50000          |
| Mary Johnson   | Mary           | Johnson        | Marketing      | 55000          |
| Linda Lee      | Linda          | Lee            | HR             | 48000          |
| James Brown    | James          | Brown          | IT             | 60000          |
| Patricia Davis | Patricia       | Davis          | Finance        | 62000          |
+----------------+----------------+----------------+----------------+----------------+
|                |                |                | Total Salary   | 275000         |
|                |                |                | Average Salary | 55000          |
|                |                |                | Dept. Count    | 5              |
+----------------+----------------+----------------+----------------+----------------+
Interactivity

Adding a filter on the Department column will update the Total Salary, Average Salary, and Department Count to reflect only the filtered employees. The First Name and Last Name columns will show split names only for visible rows.

Self Check

If you add a filter to show only employees from the 'Sales' and 'IT' departments, which components update?

  • The Total Salary will update to sum salaries of Sales and IT employees only (110000).
  • The Average Salary will update to average salaries of Sales and IT employees only (55000).
  • The Department Count will update to count only Sales and IT departments (2).
  • The First Name and Last Name columns will show split names only for visible rows.
Key Result
Dashboard splits full names into first and last names and summarizes salary and department data.

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