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

Transcript-matched member videos for SEARCHB(). Click through to watch.

Watch more tutorials
Hardest Formula: SumIF | Addition Based on Dates / Values

Hardest Formula: SumIF | Addition Based on Dates / Values

Demystifying the SumIF Formula. Add up your values based on a condition,...
Search Every Function in Google Sheets

Search Every Function in Google Sheets

Built a useful tool to filter Google Sheet formulas based on keywords.
Calculate ROAS in Google Sheets

Calculate ROAS in Google Sheets

Calculate Return on Ad Spend with a formula combination. Bonus: create a...
Write Apps Script to Create a New Google Sheets Formula

Write Apps Script to Create a New Google Sheets Formula

Create a brand new custom formula in Apps Script. We'll do this for our ...

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