FormulaCraft

How to get the first word in a cell in Excel and Google Sheets

Topic:Text manipulation
Excel & Google Sheets
=IFERROR(LEFT(A2,FIND(" ",A2)-1),A2)

Verified example

Computed by a real spreadsheet engine on the sample data below.

Full Name
Alice Johnson
Bob Smith
Carol White
David Brown

=IFERROR(LEFT(A2,FIND(" ",A2)-1),A2)Alice

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Use FIND(" ",A2) to locate the position of the first space in the cell.
  2. 2Subtract 1 to exclude the space itself from the extraction.
  3. 3Wrap in LEFT(): =LEFT(A2,FIND(" ",A2)-1) returns all characters before the first space.
  4. 4Wrap the whole thing in IFERROR(…,A2) so that single-word cells (no space found) return the full cell value instead of an error.
  5. 5The final formula: =IFERROR(LEFT(A2,FIND(" ",A2)-1),A2).

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

What if I need the first two words?

Find the second space using FIND(" ",A2,FIND(" ",A2)+1) and use that position (minus 1) as the number of characters for LEFT.

Can I use this to split a full name into first and last name columns?

Yes — use this formula for the first name and the last-word formula (get-the-last-word) for the last name.

More on Text manipulation

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: