The FIND function returns the position of one piece of text inside another. =FIND("@",A2) returns 9 for dana.lee@northwind.com, because the @ is the ninth character. FIND is case sensitive, accepts no wildcards, and returns #VALUE! when the text is not there. Pair it with LEFT or MID to pull out whatever sits before or after the match.
Functions
Excel FIND Function: Syntax, Examples and Fixes
Ready to practice?
Apply what you just learned with interactive exercises.
This page covers the three arguments, how to find the second or last match, how FIND differs from SEARCH and from the Ctrl+F box, how to test whether a cell contains a word, and how to fix #VALUE!. It ends with a job that splits an email list and a SKU list into parts.
TL;DR
- The pattern is =FIND(find_text, within_text, [start_num]). It returns a number: the position of the first character of the match.
- FIND is case sensitive and takes no wildcards. SEARCH is the same function without those two limits.
- A missing match returns #VALUE!. Wrap it in IFERROR, or in ISNUMBER to get TRUE or FALSE.
- Use start_num to skip past an earlier match, which is how you find the second occurrence.
- FIND on its own only locates. To extract text, put it inside LEFT, MID or RIGHT.
- The Excel Find box (Ctrl+F) and the FIND function are different tools. The box moves your cursor, and the function returns a number in a cell.
Table of Contents
- The sample data used on this page
- FIND syntax and arguments
- How to use the Excel FIND function
- Split text at a character with FIND, LEFT and MID
- Find the second or last occurrence
- Check whether a cell contains a word
- FIND compared with SEARCH and the Find box
- Excel versions
- Errors and odd results
- What learners get wrong
- A worked job scenario: splitting emails and SKUs
- Practice
- FAQ
- Sources
The sample data used on this page
Every example uses this extract from a small shop's support inbox. Type it from A1.
| A | B | C | |
| 1 | SKU | Note | |
| 2 | dana.lee@northwind.com | TS-BLU-M-2026 | Refund requested |
| 3 | omar@contoso.org | HD-GRY-L-2025 | refund approved |
| 4 | priya.s@northwind.com | TS-RED-S-2026 | Shipped |
| 5 | sam@fabrikam.net | CP-BLK-OS-2024 | Waiting for stock |
FIND syntax and arguments
=FIND(find_text, within_text, [start_num])
| Argument | Required | What it does |
| find_text | Required | The text to look for. One character or several. |
| within_text | Required | The text to search in. Usually a cell. |
| start_num | Optional | The position at which to begin. The default is 1. |
FIND counts every character, including spaces, from 1. The result is the position of the first character of the match, counted from the start of within_text, even when you set start_num. If you start at position 5, a match at the sixth character still reports 6.
How to use the Excel FIND function
Find the position of a character
=FIND("@",A2)
This returns 9. Count it out: d, a, n, a, a dot, l, e, e, then the @ as the ninth character. For A3, =FIND("@",A3) returns 5.
Find a word inside a longer string
=FIND("Refund",C2)
This returns 1, since "Refund requested" begins with the word. =FIND("requested",C2) returns 8. The match can be several characters, and FIND reports where the first of them starts.
Watch the case
FIND treats uppercase and lowercase as different characters:
=FIND("TS",B2)
This returns 1, because B2 begins with TS. But =FIND("ts",B2) returns #VALUE!, since lowercase "ts" appears nowhere in the text. In the Note column, C2 reads "Refund requested" and C3 reads "refund approved". =FIND("Refund",C3) returns #VALUE! for the same reason. If case should not matter, switch to SEARCH: =SEARCH("Refund",C3) returns 1.
Start the search later
The third argument tells FIND where to begin:
=FIND("e",A2,8)
This returns 8. The characters of dana.lee@northwind.com at positions 7 and 8 are both "e", and starting at 8 includes position 8. Start at 9 and there are no more e's, so =FIND("e",A2,9) returns #VALUE!.
A start_num of 0 or less is also an error, and so is one larger than the text. =FIND("a",A2,0) returns #VALUE!.
Two odd results worth knowing
An empty find_text matches at once: =FIND("",A2) returns 1, and =FIND("",A2,5) returns 5. You will rarely type this on purpose, but it can happen when find_text comes from a blank cell, and the answer looks like a perfect match.
FIND also reads numbers as text. =FIND(0,1050) returns 2.
Split text at a character with FIND, LEFT and MID
FIND gives a position, and LEFT, MID and RIGHT turn the position into text. The pattern is always the same: find the separator, then cut on either side of it.
Everything before the @
=LEFT(A2,FIND("@",A2)-1)
This returns dana.lee. FIND says the @ is at 9, so LEFT takes 8 characters, one fewer, so the @ itself is left out. Forgetting the "-1" is the classic off-by-one slip and leaves the @ on the end. The LEFT function guide covers the function itself.
Everything after the @
=MID(A2,FIND("@",A2)+1,LEN(A2))
This returns northwind.com. MID starts one character after the @, and the length argument, LEN(A2), is larger than what is left, which is allowed. MID simply stops at the end of the text. See the MID function guide and the LEN function guide.
Guard against a missing separator
If a cell might have no @, FIND returns #VALUE! and the whole formula fails. IFERROR returns a fallback instead:
=IFERROR(LEFT(A2,FIND("@",A2)-1),A2)
For A2 this returns dana.lee, as before. If the cell held plain text with no @, the formula would return the cell as it is. For a quick check of whether a separator exists at all, =IFERROR(FIND("-",A2),0) returns 0 for the email in A2, which has no hyphen.
Find the second or last occurrence
FIND returns only the first match, so to reach the second you start after the first. In B2, "TS-BLU-M-2026", the first hyphen is at position 3:
=FIND("-",B2)
This returns 3. Now start the next search one character past it:
=FIND("-",B2,FIND("-",B2)+1)
This returns 7, the second hyphen. The inner FIND gives 3, plus 1 makes 4, and the outer FIND begins at 4. Add another layer for the third hyphen:
=FIND("-",B2,FIND("-",B2,FIND("-",B2)+1)+1)
This returns 9. Three layers is about as deep as is comfortable to read.
Cut the text between two hyphens
With the first two hyphens located, MID extracts the color:
=MID(B2,FIND("-",B2)+1,FIND("-",B2,FIND("-",B2)+1)-FIND("-",B2)-1)
This returns BLU. MID starts at position 4, just after the first hyphen. The length is the second hyphen's position (7) minus the first (3) minus 1, which is 3 characters. The same formula returns BLK for B5. It works because it measures the gap rather than counting on three-letter colors.
Find the last occurrence
The last hyphen is the one before the final part. You can find it by using SUBSTITUTE to turn the last hyphen into a marker character that appears nowhere else, then using FIND on the marker. The number of hyphens is the length of the text minus the length without hyphens:
=RIGHT(B2,LEN(B2)-FIND("*",SUBSTITUTE(B2,"-","*",LEN(B2)-LEN(SUBSTITUTE(B2,"-","")))))
This returns 2026. B2 has three hyphens, so SUBSTITUTE replaces the third with an asterisk, giving TS-BLU-M*2026. FIND locates the asterisk at 9, and RIGHT takes the 13 minus 9 = 4 characters after it. The SUBSTITUTE guide explains the instance argument. For the last word of a sentence, our guide to extracting the last word uses the same idea.
Check whether a cell contains a word
FIND returns a number when the text is there and an error when it is not. ISNUMBER turns that into TRUE or FALSE:
=ISNUMBER(FIND("refund",LOWER(C2)))
This returns TRUE. LOWER makes the note lowercase first, so "Refund requested" and "refund approved" are both caught. Without LOWER, the lowercase "refund" would miss C2.
For a case-insensitive test, SEARCH needs no helper:
=IF(ISNUMBER(SEARCH("refund",C3)),"Refund","Other")
This returns Refund for C3.
Count cells that contain text
FIND works on one cell, but you can send it a range and add up the hits:
=SUMPRODUCT(--ISNUMBER(FIND("northwind",A2:A5)))
This returns 2, the two northwind.com emails. FIND returns a list of positions and errors, ISNUMBER turns the list into TRUE and FALSE, and the double minus turns that into 1 and 0. SUMPRODUCT adds them up without needing Ctrl+Shift+Enter. The case-insensitive shortcut is COUNTIF with wildcards: =COUNTIF(A2:A5,"*northwind*") also returns 2. See the COUNTIF guide and the wildcard characters guide.
FIND compared with SEARCH and the Find box
| FIND | SEARCH | Find box (Ctrl+F) | |
| What it is | A function | A function | A dialog |
| Case sensitive | Yes | No | Optional (Match case) |
| Wildcards | No | Yes (? and *) | Yes |
| Returns | A position number | A position number | Moves the cursor to the cell |
| Updates with data | Yes | Yes | No |
| Searches many cells | One cell, or a range inside another function | Same | The whole sheet or workbook |
To search for an actual wildcard character with SEARCH, put a tilde in front of it. The wildcard characters guide explains the rules.
The Find box
The Find box is a separate tool from the function. Press Ctrl+F on Windows or Command+F on Mac, type the text, and choose Find Next or Find All. Open Options to match case, to match the entire cell contents, to search the workbook rather than the sheet, and to look in formulas, values or comments. It helps you locate things while you work, but it does not put a result in a cell. For that you need the function.
If you want a position within a list rather than within a string, MATCH is the better tool. The MATCH function guide covers it.
Excel versions
FIND and SEARCH exist in every version of Excel, including Excel for the web and Excel for Mac. The text-extraction patterns on this page need nothing newer. FINDB is a sibling that counts bytes rather than characters, and it only matters when you use a double-byte language. In other languages it behaves like FIND.
If you are on a recent Microsoft 365 build, REGEXEXTRACT can replace a chain of FIND and MID calls, but it is not in older versions. Use the FIND approach in a file that others will open in an older version. See the regex guide.
Errors and odd results
| What you see | Cause | Fix |
| #VALUE! | The text is not found | Check spelling and case, or use SEARCH |
| #VALUE! | start_num is 0, negative, or longer than the text | Use a start_num from 1 to the length of the text |
| #VALUE! with a wildcard | FIND takes ? and * literally | Use SEARCH |
| #VALUE! on a blank cell | The cell is empty or has no separator | Wrap in IFERROR |
| #NAME? | The name is misspelled, such as =FIDN(...) | Correct the function name |
| The extracted text keeps the separator | Missing -1 in LEFT, or +1 in MID | Adjust by one |
| A position that looks one too high | A leading space counts as a character | Wrap the cell in TRIM |
| Result stays the same after changing the case | FIND is case sensitive, and the text now differs | Match the case exactly |
| The formula returns the text of the formula | The cell is formatted as Text | Change to General and enter it again |
What learners get wrong
Between 26 September and 3 November 2026, learners made 1,825 first attempts across our FIND Function lesson, and 64.2% were right. Our SEARCH Function lesson had 969 first attempts, and 61.8% were right. Answers below are shown as stored, in lowercase.
Arguments in the wrong order. The screen that asks for a FIND of the first "ssi" in "Mississippi" had 188 first attempts, and 47.3% were right. The answer =find(a1,"ssi") appeared 47 times, and =find(a1,"ssi",1) appeared 6 times. Both put the cell first and the text second. The cell is the text being searched, and it comes second. On the sample data the right shape is =FIND("@",A2): the character first, then the cell.
Typing a formula or text where a number is expected. The hardest FIND screen explains the third argument and asks what =FIND("ssi", A1, 5) returns. It had 185 first attempts and only 27.0% were right. The wrong answers were text: ssippi appeared 12 times and issippi 6 times. FIND returns a number, the position, and never a piece of the string. The correct answer is 6, because the second "ssi" starts at the sixth character. Another screen asked for the first position of an "s", and the answer =find("s",a1) appeared 29 times, which is the formula itself, where the screen wanted its result. On the SEARCH screen that asks what =SEARCH("e", A1) returns, 107 first attempts were made and 30.8% were right. The answer =search("e",a1) appeared 18 times, and e and excel 6 and 5 times. The result is 1, the first character, and SEARCH matches it whichever case it is in.
Case. The answer =find("SSI",a1) appeared 7 times on the "ssi" screen. FIND is case sensitive, so uppercase "SSI" does not match the lowercase letters in "Mississippi" and returns #VALUE!.
Missing arguments. The answer =find("ssi") appeared 5 times. FIND needs a second argument, the text to search in.
Wildcards in SEARCH. On the SEARCH screen with ?, only 40.7% were right in 86 first attempts. The wrong answers were letters: s 15 times, t 12 and a 8. A question mark stands for any one character, so =SEARCH("?",A4,3) matches at the very position it starts from and returns 3. The pattern screen "a _ _ t" had 92 first attempts, 59.8% right. =search("a__t",a2) and =search("a**t",a2) appeared 4 times each, and =search("a?t",a2) 3 times. Underscores are not wildcards, an asterisk matches any number of characters, and each question mark is exactly one character, so the answer needs two: a??t.
A worked job scenario: splitting emails and SKUs
The support lead wants a report that shows each sender's username and domain, flags the northwind.com customers, and breaks the SKU into type, color, size and year.
- Username. In D2 enter =LEFT(A2,FIND("@",A2)-1) and fill down. D2 returns dana.lee and D3 returns omar.
- Domain. In E2 enter =MID(A2,FIND("@",A2)+1,LEN(A2)). E2 returns northwind.com, and E5 returns fabrikam.net.
- Flag the customers. In F2 enter =IF(ISNUMBER(FIND("northwind",A2)),"Northwind","Other"). F2 returns Northwind and F3 returns Other.
- Type. In G2 enter =LEFT(B2,FIND("-",B2)-1). G2 returns TS, and G3 returns HD.
- Color. In H2 enter the color formula from earlier, =MID(B2,FIND("-",B2)+1,FIND("-",B2,FIND("-",B2)+1)-FIND("-",B2)-1). H2 returns BLU.
- Size. In I2 enter the longer formula that sits between the second and third hyphen:
I2 returns M for B2 and OS for B5, where the size has two letters. A fixed-position cut would have gotten B5 wrong.
- Year. In J2 enter =RIGHT(B2,4). J2 returns 2026.
- Keep the result. Copy D2:J5 and use Paste Special, Values before you delete or sort the source columns.
A shorter route for the size is to split the SKU in one go with TEXTSPLIT in Microsoft 365, but the FIND formulas work in every version, which is why they are the ones worth learning first. For the Ctrl+F box, nothing here replaces it: use the box to look, and the function to calculate.
Practice
Open the FIND Function lesson and type each formula yourself. Then do the SEARCH Function lesson, which adds the wildcards. The screens that ask what a formula returns are the ones to slow down on: work out the position by counting characters, then type the number. If you want to see FIND at work with the other text functions, try the FLOOR, CEILING, SUBSTITUTE and FIND practice.
FAQ
What does the FIND function do in Excel?
FIND returns the position of one piece of text inside another, counted in characters from 1. =FIND("@",A2) returns 9 for dana.lee@northwind.com. It is case sensitive and does not accept wildcards. When the text is not found, it returns #VALUE!.
What is the difference between FIND and SEARCH in Excel?
FIND is case sensitive and takes ? and * literally. SEARCH ignores case and treats those as wildcards. Both return the same kind of result, a position number, and both return #VALUE! when nothing matches. Use FIND to separate "ID" from "id" and SEARCH when case does not matter.
How do I find the second occurrence of a character in Excel?
Put one FIND inside another as the start_num. =FIND("-",B2,FIND("-",B2)+1) finds the first hyphen, adds 1, and begins the next search there. For B2 it returns 7. Repeat the nesting for a third occurrence.
Why does FIND return #VALUE!?
Because the text was not found, the case did not match, start_num is 0 or larger than the text, or find_text includes a wildcard. =FIND("ts",B2) fails on TS-BLU-M-2026 for the case reason. Use SEARCH, or wrap FIND in IFERROR.
How do I use FIND to extract text?
Combine it with LEFT, MID or RIGHT. =LEFT(A2,FIND("@",A2)-1) returns everything before the @, and =MID(A2,FIND("@",A2)+1,LEN(A2)) returns everything after it. The -1 and +1 keep the separator out of the result.
Sources
Keep going
Guides people read next.

CHOOSECOLS Function in Excel: Syntax, Examples, Fixes
Learn how the Excel CHOOSECOLS function works, with CHOOSEROWS too: syntax, negative indexes, FILTER combos, version support and fixes for #VALUE! and #SPILL!.
16 minINDEX Function in Excel: Syntax, Examples and Fixes
Learn the Excel INDEX function: return a value by row and column, pull a whole row or column, build dynamic ranges and fix #REF! errors, with examples.
16 minExcel LEFT Function: Syntax, Examples and Common Fixes
Learn the Excel LEFT function: pull the first characters from text, use FIND when lengths vary, and stop numbers from turning into text.
14 min