fxExcelReps
PRO

You've used your 3 free functions

To practise FIND and every other function, get a PRO subscription.

  • Unlimited access to every function
  • New functions and exercises every month
  • Every mistake explained + full solutions

Your free functions — you can always come back to these:

← All functions

How to use FIND in Excel

FIND returns the position where one text starts inside another. It's case-sensitive and doesn't use wildcards. Combine it with LEFT, RIGHT or MID to cut text at a character like @ or -.

Syntax

=FIND(find_text, within_text, [start_num])

find_textWhat to look for.
within_textWhere to look.
[start_num]Position to start from (1 if omitted).

Examples

=FIND("@", A2)Position of @ in an email.
=LEFT(A2, FIND("@", A2)-1)Username before the @.
=MID(A2, FIND("-", A2)+1, 99)Everything after the first hyphen.

FIND as the helper for LEFT, MID and RIGHT

On its own FIND only returns a number: where the text starts. Its real job is to tell LEFT, MID and RIGHT where to cut.

=FIND("-", A2)The position of the first dash in NORTH-10457: 6.
=MID(A2, FIND("-", A2)+1, 5)The five characters after the dash: 10457.

The second or third occurrence

The 3rd argument says where to start looking. Start one character after the first match to find the second.

=FIND("-", A2, FIND("-", A2)+1)The position of the second dash.
=FIND("#", SUBSTITUTE(A2, "-", "#", 3))The position of the third dash: mark it with SUBSTITUTE, then find the mark.

Does the text contain…?

FIND returns #VALUE! when the text isn't there, so ISNUMBER turns it into TRUE or FALSE.

=ISNUMBER(FIND("USD", A2))TRUE when the description contains USD, in capitals.
=IF(ISNUMBER(FIND("REF", A2)), "Refund", "Payment")Classifies a transaction by a code in its description.

Common mistakes

#VALUE! error
The text wasn't found. Wrap with IFERROR or check with ISNUMBER(FIND(...)).
Case matters
FIND("a", "Apple") fails. Use SEARCH to ignore case.

Frequently asked questions

What's the difference between FIND and SEARCH?

FIND is case-sensitive and doesn't allow wildcards. SEARCH ignores case and accepts * and ?. Otherwise they work the same.

Why does FIND return #VALUE!?

The text wasn't found, the case is different, or the start position is beyond the end of the text. Wrap it in IFERROR or ISNUMBER when "not found" is a normal result.

How do I find the last space in a text?

Count the spaces with LEN(A2)-LEN(SUBSTITUTE(A2, " ", "")), replace the last one with a marker using SUBSTITUTE, then FIND the marker.

Can FIND search a whole range?

No, it works on one cell at a time. To count cells that contain a text, use COUNTIF with wildcards: =COUNTIF(A2:A100, "*USD*").

Available in: All versions of Excel, Excel for the web, Google Sheets

Related functions

SEARCHLEFTMIDLEN