you’re able to also use FIND to test whether a cell contains specific text.

FIND is case-sensitive, which means it distinguishes between uppercase and lowercase letters.

This behavior is automatic and cannot be disabled.

Excel FIND function - basic example

Both functions return the position of one text string inside another.

However, unlike FIND, SEARCH isnotcase-sensitive anddoessupport wildcards.

When FIND locates the substring, it returns the position of the substring in the text as a number.

Excel FIND function - basic example

If the substring is not found, FIND returns a #VALUE error.

To force a TRUE or FALSE result, you cannestthe FIND function inside theISNUMBER function.

ISNUMBER returns TRUE for numeric values and FALSE for anything else.

Excel FIND function - basic example

For a more detailed explanation of this approach, with many more examples,see this example.

you might use the same idea to mark or “flag” items of interest.

We then add 1 and the result is used as thestart_numin the outer FIND.

Excel FIND function - basic example

The result is the location of the second “x” in cell A1.

Wildcards

The FIND function does not support wildcards.

More advanced formulas

The FIND function shows up in many more advanced formulas that work with text.

Excel FIND function - basic example

SEARCH returns the position offind_textinsidewithin_textas a number.

For example =REPLACE(“XYZ123”,4,3,“456”) returns “XYZ456”.

SUBSTITUTE Function

The Excel SUBSTITUTE function replaces text in a given string by matching.

Using the FIND function with the IF function to flag records

SUBSTITUTE is case-sensitive and does not support wildcards….

Excel formula: Highlight rows that contain

Excel formula: Highlight cells that contain one of many

Excel formula: Get sheet name only

Excel formula: Get top level domain (TLD)

Excel formula: Sum if cells contain either x or y

Excel formula: Get first name from name with comma

Excel formula: Convert feet and inches to inches

Excel formula: Get first name from name

Excel formula: Validate strong password

Excel formula: Get first word

Excel formula: Sum if cell contains text in another cell

Excel formula: Trim text to n words

Excel formula: Get domain name from URL

Excel formula: Cell contains specific text

Excel formula: Remove last word

Article image

Article image

Article image

Excel SEARCH function

Excel REPLACE function

Excel SUBSTITUTE function

Using the FIND function with the IF function to flag records