Extract the First Word

Excel Formulas › Text

All versionsLEFT

Grab the first word of a cell — a first name, a product code, a command. LEFT up to the first space does it; a trick handles single-word cells too.


Quick formula: first word of A2:
=LEFT(A2, FIND(" ", A2 & " ") - 1)
FIND locates the first space; LEFT takes everything before it. Appending a space (A2 & " ") avoids an error when there’s no space.

Functions used (tap for the full reference guide):

The example

The first word pulled from a phrase.

AB
1TextFirst word
2Ann Marie LeeAnn
3SoloSolo

The formula

Everything up to the first space:

=LEFT(A2, FIND(" ", A2 & " ") - 1) // works even with no space

How it works

FIND the space, LEFT the rest:

  1. FIND(" ", A2) returns the position of the first space.
  2. LEFT(A2, position - 1) returns the characters before it — the first word.
  3. The trick: A2 & " " appends a space so FIND always finds one, even in a single-word cell (which then returns the whole word).
  4. In Excel 365, TEXTBEFORE(A2, " ") is the clean modern version.

365 shortcut: =TEXTBEFORE(A2, " ", 1, , , A2) returns the first word and defaults to the whole string if there’s no space — no concatenation trick needed.

Try it: interactive demo

Live demo

Type text; get the first word.

First word:

Variations

365 version

Clean:

=TEXTBEFORE(A2, " ", 1, , , A2)

First two words

Up to the 2nd space:

=TEXTBEFORE(A2, " ", 2, , , A2)

After trimming

Handle leading spaces:

=LEFT(TRIM(A2), FIND(" ", TRIM(A2)&" ")-1)

Pitfalls & errors

No space = error. Plain FIND errors on a single-word cell. The A2 & " " trick (or IFERROR) avoids it.

Leading spaces. A space at the start makes the “first word” empty — TRIM first.

Other delimiters. If words are separated by commas or tabs, FIND that character instead of a space.

Practice workbook

📊
Download the free Extract the First Word practice workbook
A first-word extractor with the 365, two-word, and trim variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I extract the first word in Excel?
Use =LEFT(A2, FIND(" ", A2 & " ") - 1). Appending a space lets it work even when the cell has only one word. In 365, use TEXTBEFORE.
Why does FIND error on single-word cells?
There is no space to find. Append a space (A2 & " ") or wrap with IFERROR so single-word cells return the whole word.
What's the Excel 365 way?
=TEXTBEFORE(A2, " ", 1, , , A2) returns the first word and defaults to the whole string if there is no space.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Split text · Extract Nth word · Extract last word

Function references: LEFT · FIND