SheetRocks
Documentation/Formulas/ENDSWITH

ENDSWITH

Returns TRUE if the text ends with search text, returns FALSE otherwise.

Syntax

ENDSWITH(text, search_text, [ignore_case])

Arguments

Argument Description Required
text The text in which to check if it ends with search_text. Required
search_text The text to check if the text ends with it. Required
ignore_case It determines if the search is to be case insensitive. Defaults to FALSE. Optional

Examples

Case sensitive match

=ENDSWITH("Hello World", "World")
Result ⇒ true

Case sensitive no match

=ENDSWITH("Hello World", "world")
Result ⇒ false

Case insensitive match

=ENDSWITH(A1, A2, true)
Result ⇒ true
A
1 Hello World
2 world

Related Functions

Other Text functions:


← Back to Formula Reference