SheetRocks
Documentation/Formulas/CONTAINS

CONTAINS

Returns true if a range contains a specified value

Syntax

CONTAINS(range, value, [ignore_case])

Arguments

Argument Description Required
range The range of cells to search in Required
value The value to search for Required
ignore_case Whether to ignore case when searching. Defaults to false. Optional

Examples

Check if text contains substring (case sensitive)

=CONTAINS("Agency Dashboard", "Age")
Result ⇒ true

Check if text contains substring (case insensitive)

=CONTAINS("Agency Dashboard", "AGE", true)
Result ⇒ true

Related Functions

Other Logical functions:


← Back to Formula Reference