FIND vs SEARCH

Both return the position of a text inside another. FIND is case-sensitive; SEARCH is not and accepts wildcards.

FINDSEARCH
Upper and lower caseTells them apartIgnores them
Wildcards * and ?NoYes
If not found#VALUE!#VALUE!

Syntax and example

FIND

=FIND(find_text, within_text, [start_num])

=MID(A2,SEARCH("@",A2)+1,100)

Returns the position where some text appears within another. With LEFT and MID it splits text.

SEARCH

=SEARCH(find_text, within_text, [start_num])

=ISNUMBER(SEARCH($E$2,A2))

Like FIND, but case-insensitive and with wildcards.

Which one to use?

To ask whether a cell contains a word, SEARCH inside ISNUMBER. FIND when case matters, as with codes.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice it

Solve the exercise on the sheet; it is checked instantly. See all lessons · Formula translator

SEARCH: an email’s domain

SEARCH is like FIND, but it ignores case and accepts * and ? wildcards. Use it when you do not know how the text is written.

Example=MID(A2,SEARCH("@",A2)+1,100)HALLAR = SEARCHENCONTRAR = FIND

In B2, extract the email’s domain: what comes after the @.

B2
ABC
1EmailDomain
2ana.ruiz@gmail.com
3luis@empresa.mx
4sofi_92@outlook.com
5dgarcia@unam.mx
6vale@yahoo.com
7

Tip: while typing, click a cell or drag across several to insert their reference. F4 anchors the reference with $.

Frequently asked questions

What is the difference between FIND and SEARCH?
Both return the position of a text inside another. FIND is case-sensitive; SEARCH is not and accepts wildcards.
When should I use FIND or SEARCH?
To ask whether a cell contains a word, SEARCH inside ISNUMBER. FIND when case matters, as with codes.