Syntax
=FINDB(find_text, within_text, [start_num])Arguments
| Argument | Required | Description |
|---|---|---|
find_text | Required | The text to find |
within_text | Required | The text to search in |
start_num | Optional | Position to start searching from (1 when left out) |
How to use FINDB
FINDB is kept so older workbooks keep working. It calculates the same way as FIND, which is the name to use in new formulas.
FINDB takes 2 required arguments and 1 optional argument. Type =FINDB( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=FIND("M", "Miriam McGovern")Result =FIND("m", "Miriam McGovern")Result =FIND("M", "Miriam McGovern", 3)Result Related text functions
- DBCSChanges half width (single byte) letters, digits and katakana to full width (double byte) characters.
- DOLLARFormats a number as currency text, rounded to the given number of decimals.
- EXACTChecks whether two texts are exactly the same, including upper and lower case.
- FINDReturns the position of one text inside another, matching upper and lower case exactly.
- FIXEDRounds a number to a number of decimals and returns it as text, with or without thousands separators.
- JISChanges half width (single byte) characters to full width (double byte) characters.
- JOINJoins values and ranges with a delimiter between them.
- LEFTReturns the first characters of a text.
- LEFTBSame as LEFT, counting bytes; without a double byte language set as default each character counts as one byte.