Skip to main content
← All functions

FINDB function

Finds one text value within another (case-sensitive)

Legacy DBCS byte-oriented find function. Microsoft deprecates FINDB; prefer FIND for new workbooks. This local model counts Latin-1 and half-width kana as one byte and other code points as two; an incomplete double-byte character in a slice becomes a space. It is not a UTF-8 storage measure. Native Excel byte behavior depends on language and workbook settings, and full native locale compatibility remains unverified.

Syntax

FINDB(find_text, within_text, [start_num])

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
find_textYesThe text you want to find."Univer"
within_textYesThe text containing the text you want to find."Hello Univer"
start_numNoSpecifies the character at which to start the search. If you omit start_num, it is assumed to be 1.1

Try FINDB

Find a match after a double-byte start position

=FINDB("C",A2,6)

Searching from byte 6 skips earlier characters and finds C at byte 7. FINDB is case-sensitive and does not use wildcards. This example uses a legacy double-byte character set (DBCS): A, B and C use one byte each; 漢 and 字 use two each. Byte positions are A=1, 漢=2–3, B=4, 字=5–6 and C=7. These positions differ from UTF-8 storage sizes. Microsoft deprecates the B-suffixed function; prefer the corresponding character function for new workbooks. Native byte counting depends on language settings.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

FINDB · top-level call

=FINDB("C",A2,6)

1 / 3 · find_text

The text you want to find.

FINDB reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.