Excel functions / Text

FIND & SEARCH

Return the position of some text inside a cell.

Syntax=FIND(find_text, within_text, [start_num])

Arguments

find_textThe character or text to look for.
within_textThe text to search in.
start_numOptional. The position to start searching from.

How it works

FIND tells you where something appears, counting from 1. =FIND("@",B2) returns the position of the @ in an email address.

FIND is case-sensitive and does not allow wildcards. SEARCH works the same way but ignores case and does allow them.

On their own they return a number. They are most useful inside LEFT, MID and RIGHT, to cut text at a character instead of a fixed position.

Example

D2=FIND("@",B2)
ABCD
1NameEmail
2Nina Shahnina.shah@example.com10
3Omar Reidomar@example.com
4Mary Ann Leemary.lee@example.com
5

Result: 10. The @ is the 10th character of the email.

Tips

Practise FIND & SEARCH

Try it yourself in a real spreadsheet, with instant feedback on every answer.

Start the exercise

Related