How to Separate Names in Google Sheets

Last Updated : 14 Jan, 2026

When working with data in Google Sheets, it's common to encounter columns with full names that need to be separated into first names, last names, or even middle names. Instead of manually splitting each name, Google Sheets provides built-in tools and functions to automate the process efficiently.

1. Method 1: Using the "Split Text to Columns" Tool

The "Split Text to Columns" tool in Google Sheets is a straightforward way to split names based on a delimiter (such as a space, comma, or other character). This method is ideal for consistently formatted names.

Step 1: Open Your Google Sheets File

Navigate to the Google Sheets document containing the column of full names.

Screenshot-2024-10-11-174524
select full name

Step 2: Select the Column of Names

Highlight the column with the full names by clicking the column letter (e.g., A).

pic
select entire column

Step 3: Go to the Data Menu

At the top of the screen, click on Data > Split text to columns.

Screenshot-2024-10-11-175224
select as shown

Step 4: Choose the Separator

Google Sheets will attempt to automatically detect the separator (e.g., space or comma).

  • If it guesses incorrectly, click the small box below the data and select the correct delimiter (e.g., Space for names).
pic
it separates by default

Step 5: Check Results

Your column will now split into multiple columns, with first names, middle names (if any), and last names in separate columns.

Tips for This Method

  • Ensure the full names in your column are consistently formatted (e.g., all names separated by spaces or commas).
  • If some rows are formatted differently, consider cleaning the data before applying this tool.

2. Method 2: Using Google Sheets Formulas

For more control or when handling complex name formats, formulas in Google Sheets provide flexibility. These formulas can handle scenarios such as names with middle names or inconsistent formatting.

Step 1: Separate First and Last Names Using SPLIT

The SPLIT function divides names based on a delimiter (e.g., space).

Example:

  • Assume the full name is in cell A2.
  • In B2, enter the formula:
=SPLIT(A2, " ")
Screenshot-2024-10-11-181723
use =SPLIT(A2," ")

Output

The name will split into separate columns for each word.

Screenshot-2024-10-11-182115
based on space we give

If you only need the first name, use the LEFT and SEARCH functions to isolate the text before the first space.

Example:

  • In B2, enter the formula: =LEFT(A2, SEARCH(" ", A2) - 1)
Screenshot-2024-10-11-182522
use =LEFT(A2, SEARCH(" ", A2) - 1)

Output: The first name.

Screenshot-2024-10-11-182910
shows only first name

Step 3: Extract Last Name Using RIGHT, LEN, and SEARCH

To extract the last name, combine the RIGHT, LEN, and SEARCH functions to capture text after the first space.

Example:

  • In C2, enter the formula: =RIGHT(A2, LEN(A2) - SEARCH(" ", A2))
Screenshot-2024-10-11-183206
use =RIGHT(A2, LEN(A2) - SEARCH(" ", A2))

Output: The last name.

Screenshot-2024-10-11-183403
showing last name

Step 4: Handling Middle Names

If names include middle names, you can handle each part using the INDEX function after splitting the text with SPLIT.

Example:

  • Use the formula: =INDEX(SPLIT(A2, " "), 2)
Screenshot-2024-10-11-183759
use =INDEX(SPLIT(A2, " "), 2)

Output: The middle name (if present).

Tips for Using Formulas

  • Formulas offer greater flexibility but require more manual setup.
  • Be mindful of edge cases, such as names without a middle name or extra spaces.

3. Method 3: Using Add-ons (Advanced)

For irregularly formatted data or large datasets, you can use add-ons like Power Tools to automate the separation process further.

Step 1: Install the Add-on

  • Go to Extensions > Add-ons > Get add-ons.
Screenshot-2024-10-11-184123
path to installation
  • Search for Power Tools and install it.
Screenshot-2024-10-11-184220
install the tool

Step 2: Run the Add-on

  • Navigate to Extensions > Power Tools > Start.
  • From the sidebar that appears, select Split.
Screenshot-2024-10-11-185337
by selecting split choose space, comma or any others

Step 3: Customize the Split

  • Choose the character to split by (e.g., space, comma).
  • Preview the results and specify how many columns to split the data into.
Screenshot-2024-10-11-185615
preview

Benefits of Add-Ons

  • Add-ons like Power Tools handle complex cases more efficiently than formulas or the built-in tool.
  • Useful for processing large datasets or names with inconsistent delimiters.

4. Common Challenges and Solutions

4.1. Challenge: Inconsistent Formatting

Some names might be separated by commas, tabs, or multiple spaces, making it difficult to split them.

Solution:

  • Clean the data first using the Find and Replace tool (Ctrl + H) to standardize the delimiter.

4.2. Challenge: Missing Parts (e.g., No Last Name)

Some entries may only include a first name.

Solution:

Use formulas like IFERROR to handle missing values gracefully.

  • Example: =IFERROR(SPLIT(A2, " "), "")

4.3. Challenge: Handling Large Datasets

For thousands of rows, formulas might slow down the sheet.

Solution:

  • Use add-ons like Power Tools for bulk processing.
Comment