SEARCH Function
Return the position of a text within another text, without regard to case. find_text is the text to find, within_text the text to search and start_num the position to start at (1 when omitted). find_text can contain the wildcards ? for one character and * for any number of characters; ~ before a wildcard finds the character itself. Text that isn't found, or a start_num less than 1 or greater than the length, returns #VALUE!.
Syntax
SEARCH(find_text, within_text, start_num)
Category: Text. Minimum arguments: 2. Maximum arguments: 3.
Available for supported offline calculation.
Examples
=SEARCH("b","abc")
The formula returns 2.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.