The FIND function searches for and returns the location of one text value in another text value. The search is case sensitive, traverses the text value being searched from left to right and begins from the character whose position matches the value passed to the start_num argument. It ends either (1) when the first instance of the text value being searched for is discovered, or (2) the end of the text value being searched is reached. Upon discovering the first instance of the text value being searched for, the FIND function returns a whole number whose value is ≥ 1, which represents the position of its first character in the text value that was searched. #VALUE! is returned if the search fails to discover any instances of a text value being searched for.
The formula instructs the FIND function to search the text value “ABC abc ABC abc” for instances of “abc” and to begin its search from the ninth character (“A“). Starting with this character, 3 characters are retrieved (“ABC“). Since the cases of “ABC” and “abc” differ, they do not match and another 3 characters are retrieved starting from the tenth character (“BC “) and they are compared to “abc“. This process of retrieving 3 characters and comparing them to “abc” repeats until either a match is found or it isn’t possible to retrieve 3 characters. Each time the process repeats, the starting character is moved one position to the right. The complete process is illustrated below:
Its purpose is identical to that of the FIND function: the SEARCH function searches for and returns the location of one text value in another text value. SEARCH differs from FIND in that it performs case-insensitive searches and supports wildcards.