ExcelUnpackUnpack Excel, one formula at a time.
Log inSign up

Lesson 55 · Text search

Get the first name in Excel

To get a first name from a full name, find the space, then take everything before it. FIND gives the space’s position and LEFT takes the characters before it.

Practice this lesson →Pro lesson. The first 4 lessons are free.

What you will learn

  • Find the space with FIND
  • Take the first name with LEFT

How it works

First find the space: =FIND(" ",A2). In "Maya Chen" it is 5.

The first name is everything before it: =LEFT(A2,B2-1).

Formulas at a glance

=FIND(" ",A2)space position
=LEFT(A2,B2-1)first name

Example

Write the formula to find where the space is in Maya's name.

ABCDE
1Full nameSpace atFirst nameCity, StateCity
2Maya ChenAustin, TX
3Luis OrtegaDenver, CO
4Priya NatarajanMiami, FL
5Sam OkaforBoise, ID

Click B2 and type =FIND(" ",A2), then press Enter.

The answer is 5.

When to use it

  • Splitting a full name into first name
  • Personal greetings in emails
  • Sorting by first name

Common mistakes

  • Taking one character too manyUse the space position minus 1.
  • Names with no spaceFIND shows #VALUE!. Wrap it in IFERROR if that can happen.
  • Extra spaces at the startUse TRIM first.

Practice it on a real sheet

Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.

Get the first name in Excel: how it works, with examples · ExcelUnpack