Basic Example

The FIND function is designed to look inside a text string for a specific substring. When FIND locates the substring, it returns a position of the substring in the text as a number. If the substring is not found, FIND returns a #VALUE error. For example: Note that text values entered directly into FIND must be enclosed in double-quotes ("").

Case-sensitive

The FIND function always case-sensitive:

TRUE or FALSE result

To force a TRUE or FALSE result, nest the FIND function inside the ISNUMBER function. ISNUMBER returns TRUE for numeric values and FALSE for anything else. If FIND locates the substring, it returns the position as a number, and ISNUMBER returns TRUE: If FIND doesn’t locate the substring, it returns an error, and ISNUMBER returns FALSE. 

Start number

The FIND function has an optional argument called start_num, that controls where FIND should begin looking for a substring. To find the first match of “the” in any combination of upper or lowercase, you can omit start_num, which defaults to 1: To start searching at character 5, enter 4 for start_num:

Wildcards

The FIND function does not support wildcards. See the SEARCH function.

If cell contains

To return a custom result with the SEARCH function, use the IF function like this: Instead of returning TRUE or FALSE, the formula above will return “Yes” if substring is found and “No” if not.

Notes

The FIND function returns the location of the first find_text in within_text. The location is returned as the number of characters from the start. Start_num is optional and defaults to 1. FIND returns 1 when find_text is empty. FIND returns #VALUE if find_text is not found. FIND is case-sensitive but does not support wildcards. Use the SEARCH function to find a substring with wildcards.

Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.