What you will learn
- Find the position of a character in text
How it works
=FIND("@",A2) shows the position of @ in A2. The first character is 1.
FIND cares about capital letters.
Formulas at a glance
=FIND("@",A2) | position of @ |
Example
Write the formula to find where the @ is in Maya's email.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | @ at | . at | Phone | - at | |
| 2 | maya@school.org | 555-0142 | |||
| 3 | ben@mail.com | 555-0199 | |||
| 4 | cleo@kids.net | 555-0123 | |||
| 5 | dev@home.us | 555-0175 |
Click B2 and type =FIND("@",A2), then press Enter.
The answer is 5.
When to use it
- Finding where the @ is in an email
- Finding the space between first and last name
- Checking if a code contains a letter
Common mistakes
- Getting #VALUE!The text was not found. Wrap it in IFERROR if that can happen.
- Expecting FIND to ignore capitalsUse SEARCH to ignore capitals.
- Forgetting the quotesPut the text to find in quotes: "@".
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.