John
John

Reputation: 1

Excel: Delete everything after the first word in every row

I have a list of first names and last names (in a column) in excel. Each row has a first and its corresponding last name. I would like to get only the first names.

ex.

original data: james smith
output: james

Is there a formula for that?

Thanks!

Upvotes: 0

Views: 75

Answers (1)

Scott Craner
Scott Craner

Reputation: 152660

Use a formula like this:

=LEFT(A1,FIND(" ",A1)-1)

Upvotes: 1

Related Questions