Skip to main content
Windward

INDEXOF Function

Overview

The INDEXOF function returns the first index of one text string within another text string.

For example,

=INDEXOF("This rocks.", "is")

would return 2.

Syntax

INDEXOF(within_text,find_text)

  • within_​text - Required. The text containing the text you want to find.
  • find_text - Required. The text you want to find.
  • Was this article helpful?