Text function

FIND function

Returns the position of one piece of text inside another, counting from the left. Case-sensitive and without wildcards.

Available in All versions of Excel, including Microsoft 365, Excel for Mac and Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

FIND(find_text, within_text, [start_num])
ArgumentWhat it means
find_textRequiredThe text you are looking for, e.g. "@" or "-".
within_textRequiredThe text or cell to search in.
start_numOptionalThe character position to start searching from. Default 1.

Returns: A number: the position of the first character of the first match.

How FIND works

FIND answers the question "at which character does this appear?". =FIND("@","[email protected]") returns 10 because the @ is the tenth character. On its own a position is not very exciting, but it is the key ingredient for splitting text: feed it into LEFT, MID or RIGHT to cut out the part before or after a delimiter, such as a username from an email or a first name from a full name.

FIND is case-sensitive ("a" will not match "A") and treats every character literally, so * and ? are just ordinary characters. If you want case-insensitive matching or wildcards, use SEARCH instead - otherwise the two work identically. When the text is not found, FIND returns the #VALUE! error, which is why it is often wrapped in ISNUMBER (to test for presence) or IFERROR.

The optional start_num lets you skip ahead. A classic pattern finds the second occurrence of a character by starting one position after the first: FIND("-",A2,FIND("-",A2)+1). In Microsoft 365, TEXTBEFORE and TEXTAFTER often replace these FIND-based constructions with something much easier to read.

Examples

1Position of the @ in an email

B2fx=FIND("@",A2)

Result: 10

Counting from the left, a n a . s i l v a takes nine characters, so the @ is in position 10.

2Username before the @

B2fx=LEFT(A2,FIND("@",A2)-1)
AB
1Email
2[email protected]ana.silva

Result: ana.silva

FIND gives 10; subtracting 1 tells LEFT to take the 9 characters before the @.

3Second hyphen in a product code

B2fx=FIND("-",A2,FIND("-",A2)+1)
AB
1Product code
2PRD-2026-04589

Result: 9

The inner FIND locates the first hyphen at position 4. The outer FIND starts at position 5 and finds the next one at 9.

4FIND is case-sensitive

B2fx=FIND("B",A2,2)
AB
1Product
2Banana chips#VALUE!

Result: #VALUE!

Starting at position 2, the rest of the text is all lowercase, so there is no capital B to find and FIND returns an error. The same applies to FIND("A",A2), while SEARCH("A",A2) would happily return 2 because SEARCH ignores case.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!find_text does not occur in within_text (remember: case matters), or start_num is 0, negative or larger than the length of the text.Check the case, use SEARCH for case-insensitive matching, or wrap the formula in IFERROR to return a default.
#VALUE!find_text contains a wildcard you expected to work, like "INV*".FIND takes * literally; use SEARCH for wildcards.

Tips

  • To test whether a cell contains something, use =ISNUMBER(FIND("VIP",A2)); it returns TRUE/FALSE instead of a position or an error.
  • If find_text is empty ("") FIND returns start_num (1 by default), which can hide mistakes when the search cell is blank.
  • To find the last occurrence, in Microsoft 365 use TEXTAFTER with a negative instance, e.g. =TEXTAFTER(A2,"-",-1).

Questions

What is the difference between FIND and SEARCH?

FIND is case-sensitive and does not support wildcards; SEARCH ignores case and accepts *, ? and ~. Otherwise they return the same position.

How do I stop FIND from showing #VALUE! when the text is missing?

Wrap it: =IFERROR(FIND("-",A2),0) returns 0 instead of the error, or use ISNUMBER(FIND(...)) for a TRUE/FALSE test.

Can FIND search from the right?

No, it always counts from the left. Use TEXTAFTER with a negative instance number in Microsoft 365, or a SUBSTITUTE trick in older versions.

Google Sheets

FIND also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

FIND in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechNAJÍT
DutchVIND.ALLES
FinnishETSI
FrenchTROUVE
GermanFINDEN
HungarianSZÖVEG.TALÁL
ItalianTROVA
Norwegian (Bokmål)FINN
PolishZNAJDŹ
Portuguese (Brazil)PROCURAR
Portuguese (Portugal)LOCALIZAR
RussianНАЙТИ
SpanishENCONTRAR
SwedishHITTA
TurkishBUL

Recipes that use FIND