Syntax
| Parameter | Description |
|---|---|
| find_text | Parameter of the FIND function. |
| within_text | Parameter of the FIND function. |
| [start_num] | (Optional.) Parameter of the FIND function. |
Examples
Find position of a character
Extract username from email
=LEFT(A2, FIND("@", A2)-1)
Find second occurrence
=FIND("-", A2, FIND("-", A2)+1)
Common Errors
The search text was not found in the string. Use IFERROR to handle cases where the character might not exist.
The start_num is greater than the text length or less than 1.
Tips
FIND is case-sensitive: FIND("a","Apple") returns #VALUE! but SEARCH("a","Apple") returns 1. Use SEARCH when case does not matter.
=ISNUMBER(FIND("text", A1)) returns TRUE/FALSE for whether A1 contains the search text.
To find the Nth delimiter, nest FIND calls or use SUBSTITUTE to replace the Nth occurrence with a unique character, then FIND that.
Try FIND in Viztab
Import your data and use FIND with 370+ other formulas. No signup required.
Open Viztab