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.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Full name | Space at | First name | City, State | City |
| 2 | Maya Chen | Austin, TX | |||
| 3 | Luis Ortega | Denver, CO | |||
| 4 | Priya Natarajan | Miami, FL | |||
| 5 | Sam Okafor | Boise, 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.