ReferenceFunctionsText Functions
SEARCH
SEARCH: Returns the 1-based position of one text string inside another.
Summary
SEARCH is case-insensitive and supports * and ? wildcards.
Remarks
- Search is case-insensitive.
*matches any sequence and?matches a single character.start_numis 1-based and must be greater than0.- If no match is found, returns
#VALUE!.
Examples
Case-insensitive search
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
7
Wildcard pattern
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
6
Related functions
FAQ
How are case and wildcards handled?
SEARCH is case-insensitive and supports * for any sequence plus ? for one character.
Runtime metadata
Category
Text
Signature
SEARCH(arg1, arg2, ... argN: Any)This function accepts a repeating argument pattern (min args: 2).
Arity
min 2, max variadic
Arguments
arg1Any · Scalar
Caps
PURE
Source