SheetsLessons
Text function

FIND function in Google Sheets

FIND returns the position where one piece of text first appears inside another. It's case-sensitive, and is mostly used to feed a position into LEFT, RIGHT or MID.

Syntax

=FIND(search_for, text_to_search, [starting_at])
search_for
The text to look for.
text_to_search
The text to search in.
starting_at
Optional. Position to start searching from.

Practice FIND

Task 1 of 2

At what position is the @ in the email in A2? Answer in B2.

B2
fx

Tip: while typing a formula, click a cell or drag across cells to insert references. Press Enter to check, and Tab to accept a function suggestion.

FIND examples

Each example below runs against this sample sheet. The results are calculated by the same engine as the practice grid.

ABCDE
1Emp IDNameDeptEmailSalary
21042Maya PatelFinancemaya.patel@acme.co$72,000.00
31187Leo RossiSupportleo.rossi@acme.co$51,000.00
41305Ava KimSalesava.kim@acme.co$64,000.00
51411Omar AliMarketingomar.ali@acme.co$58,000.00
61520Hana TanakaSaleshana.tanaka@acme.co$69,000.00
Employee directory
FormulaResultWhat it shows
=FIND("@", D2)11Where the @ sits in the email.
=LEFT(D2, FIND("@", D2) - 1)maya.patelUsername: everything before the @.
=FIND("M", B2)1Case-sensitive: the capital M.
=FIND("z", B2)#VALUE!Not found returns #VALUE!.

Tips and common mistakes

  • Use SEARCH if you want case-insensitive matching or wildcards.
  • To test whether text contains something, wrap in ISNUMBER: =ISNUMBER(FIND("x", A2)).

Related functions