Home
Challenges
Split First and Last Names
Cleanup
Easy

Split First and Last Names

An Excel contact list stores full names in one column, and you need to separate first names from last names.

AuthorExcelClash Team
PublishedApr 02, 2026
Split First and Last Names

The Problem

A full name in one cell is easy to store, but not always easy to use. Many contact workflows need first names and last names in separate columns so the list can be sorted, filtered, or used in personalized messages.

That need shows up in CRM imports, email campaigns, event lists, and onboarding sheets. The full name is still useful as the original record, but the first-name and last-name pieces are better for greeting messages, alphabetical sorting, and duplicate checks.

The flow below shows the split point. The first space separates the left side from the right side, which lets the worksheet fill two clean output columns.

Full name splitting problem flow
The Problem: Full Names Often Need Separate Parts Finding the first space gives the formula a reliable split point for simple two-part names.

In this workbook, each row has a two-part full name. The challenge is to extract the first name into one column, the last name into another, and complete the audit summary so the sheet confirms how many rows were successfully split.

  • The original full name should remain in column A.
  • The first-name output should come from the text before the first space.
  • The last-name output should come from the text after the first space.

That gives the user a cleaner contact list while preserving the original source text for review if a split looks unusual.

Related Challenge to This Problem

  • Merge Multiple Columns into One
  • Standardize Full Names
  • Extract Email Domains

How We Solve It

The formulas work by finding the first space in the full name. That space marks the boundary between the first name and the last name, so one formula takes everything before it and another formula takes everything after it.

Method 1: LEFT with SEARCH

First Name Extraction Illustration
Method 1: Extract the first name by cutting everything before the first space.

This is the pattern used for the first-name column in the solution. SEARCH finds the space position, and LEFT returns the characters before it.

This solves the first half of the challenge because the first name sits before the space in each full name. Once the space position is known, the worksheet can return only the left side into column B.

=LEFT(A2, SEARCH(" ", A2) - 1)

Method 2: RIGHT with LEN

Last Name Extraction Illustration
Method 2: Use the total text length to return everything after the first space.

For the last name, we keep the part after the first space. LEN gives the total text length, and RIGHT returns the remaining characters after the first name has been accounted for.

This solves the second half of the challenge because the surname sits after the first space. By measuring the full text and subtracting the first-name portion, the formula can return only the last-name side into column C.

=RIGHT(A2, LEN(A2) - SEARCH(" ", A2))

Method 3: TEXTSPLIT in newer Excel

Modern Split Illustration
Method 3: Split the name into multiple cells in one step with TEXTSPLIT.

If you are using a newer Excel version, TEXTSPLIT can split the name across columns automatically. It is not required for this validator, but it is a useful modern option when the worksheet supports it.

This solves the whole split in one move instead of building separate first-name and last-name formulas. It is especially useful when the worksheet supports modern spill formulas and the goal is to separate the name with as little setup as possible.

=TEXTSPLIT(A2, " ")

Function Explanation

1. SEARCH

SEARCH returns the position of one text fragment inside another. In this challenge, it finds the space that separates first and last name.

That position drives both formulas. One output takes the characters before the space, and the other output takes the characters after it.

Learn more this functionSEARCH

2. LEFT

LEFT returns characters from the start of a string. Combined with SEARCH, it gives us the first name cleanly.

The formula subtracts one from the space position so the output does not include the space itself.

Learn more this functionLEFT

3. LEN

LEN counts the total number of characters in the full name. That total helps RIGHT determine how many characters belong to the last-name side.

By subtracting the first-space position from the full length, the formula knows how many characters remain for the last name.

Learn more this functionLEN

This pattern assumes each row has one first name and one last name separated by a single space. If the source data includes middle names or extra spacing, the cleanup logic usually needs an extra step.

Try Yourself

Split each full name into first-name and last-name columns, then complete the audit summary so the worksheet shows how many rows were split successfully and how many total records are in the list.

1
Objective #1
Cell: B2-B6

In Column B, extract the first name from the full name in Column A.

2
Objective #2
Cell: C2-C6

In Column C, extract the last name from the full name in Column A.

3
Objective #3
Cell: B9

In cell B9, count how many rows now have both split-name outputs filled.

4
Objective #4
Cell: B10

In cell B10, count the total number of records in your list.

Tactical Arena
Objectives Met: 0 / 0
Share this challenge
Share this challenge

Let others know about this challenge!

Related Challenges
Cleanup
#6
Extract Email Domains

An Excel email list mixes different domains, and you need to pull the provider or company part from each address.

Easy
Cleanup
#7
Format Phone Numbers

An Excel contact list stores raw digits, and you need to turn them into a phone format that is easier to read.

Easy
Cleanup
#8
Check for Matching Passwords

An Excel signup sheet has repeated password entries, and you need to confirm both fields match exactly before approval.

Easy
Analysis
#9
Calculate Sales Tax

An Excel price sheet stores net amounts, and you need to add tax correctly and show final totals from one shared rate.

Easy
Discussion
0 Feedbacks
ExcelClash

ExcelClash is an interactive platform designed to level up your Excel skills through real-world exercises and challenges. Sharpen your logic, solve real spreadsheet problems, and learn faster—without boring lessons. Just hands-on practice that actually sticks.

Navigation
Back to Challenges
Go to Dashboard
Platform Home
Discover
SUM FunctionsLookup FunctionsConditional FunctionsLogical Functions
Support
About UsContact UsPrivacy PolicyTerms of Service
© 2026 ExcelClash, Inc. All rights reserved.
Objectives Met: 0 / 0