Formulas > =SEARCHB()

How to Use SEARCHB() in Google Sheets

Description

Returns the position at which a string is first found within text counting each double-character as 2.

How To Actually Use SEARCHB() in Sheets

SEARCHB(search_for, text_to_search, [starting_at])

Try SEARCHB yourself

In cells A1:A10, enter various strings. Use the SEARCHB formula in cell B1 to find the position of the string 'ab' in the text from A1. Drag the formula down to B10 to apply it to the other cells.

Hints (2)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Learn more about the SEARCHB() formula:

Generate a SEARCHB() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses SEARCHB(). 2 free AI generations, no signup. Members get unlimited use.

Generate a SEARCHB() formula