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])| Argument | What it means | |
|---|---|---|
find_text | Required | The text you are looking for, e.g. "@" or "-". |
within_text | Required | The text or cell to search in. |
start_num | Optional | The 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
| A | B | |
|---|---|---|
| 1 | ||
| 2 | [email protected] | 10 |
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 @
| A | B | |
|---|---|---|
| 1 | ||
| 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
| A | B | |
|---|---|---|
| 1 | Product code | |
| 2 | PRD-2026-0458 | 9 |
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
| A | B | |
|---|---|---|
| 1 | Product | |
| 2 | Banana 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.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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_textis empty ("") FIND returnsstart_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.
| Language | Function name |
|---|---|
| Czech | NAJÍT |
| Dutch | VIND.ALLES |
| Finnish | ETSI |
| French | TROUVE |
| German | FINDEN |
| Hungarian | SZÖVEG.TALÁL |
| Italian | TROVA |
| Norwegian (Bokmål) | FINN |
| Polish | ZNAJDŹ |
| Portuguese (Brazil) | PROCURAR |
| Portuguese (Portugal) | LOCALIZAR |
| Russian | НАЙТИ |
| Spanish | ENCONTRAR |
| Swedish | HITTA |
| Turkish | BUL |
Recipes that use FIND
- How to check if a cell contains a word in Excel
- How to count cells that contain text in Excel
- How to extract numbers from text in Excel
- How to extract text between two characters in Excel
- How to split first and last name in Excel