FINDB
The FINDB
function in Google Sheets is used to find the position at which a specific string is first found within another text. This function counts each double-character as 2.
Function Syntax and Parameters
Syntax: FINDB(search_for, text_to_search, [starting_at])
Parameters:
search_for
: The string you want to find within the text.text_to_search
: The text to search within.starting_at
[Optional]: The position within the text to start the search. If omitted, the search starts from the beginning.
Step-by-Step Tutorial
-
Using
FINDB
to find the position of a string in a text:- Example:
=FINDB("world", "Hello world!")
- Result:
7
- Example:
-
Using
FINDB
to find the position of a string in a text, starting from a specific position:- Example:
=FINDB("world", "Hello world!", 8)
- Result:
0
(as "world" is not found starting from position 8)
- Example:
Use Cases and Scenarios
- Text Analysis: Find the position of specific words in a text.
- Data Cleaning: Identify the location of specific characters within a dataset.
- String Manipulation: Extract specific portions of a string by finding their positions.
Related Functions
FIND
: Similar toFINDB
, but treats double-characters as one.