Google Sheets FINDB Function

This post will guide you how to use Google Sheets FINDB function with syntax and examples.

Description


The Google Sheets FINDB function returns the position of the first text string (sub string) within another text string counting each double-character as 2.

The FINDB function can be used when you want to get the position of a sub string inside another text string. It will return a number that indicates the starting position of sub string that you are searching in another text string. When searching text string is not found in another text string, the FINDB function will return a #VALUE error in Google sheets.

The FINDB function is a build-in function in Google Sheets and it is categorized as a Text Function.

Syntax


The syntax of the FINDB function is as below:

= FINDB(find_text, within_text,[start_num])

Where the FINDB function arguments are:

  • Find_text -This is a required argument. The text or substring that you want to find. (The string in the Find_text argument can not contain any wildcard characters)
  • within_text -This is a required argument. The text string that is to be searched for the first occurrence of within_text
  • start_num-This is an optional argument. It will specify the position in within text string where the search will start. If you omit start_num value, the search will start from the first character of the within_text string, in other words, it is set to be 1 by default. so you can use the google sheets FINDB function to look for the specified text starting from the specified position.

Notes:

  • The FINDB function will return the position of the first character of find_text in within_text argument.
  • If there are several occurrences of the find_text within another text string, it only returns the position of the first occurrence.
  • If the find_text is an empty string, the position of the first character in the within_text is returned.
  • If the find_text string is not found in within_text, it will return the #VALUE! Error.
  • If start_number value is not greater than 0, it will return the #VALUE! Error value.
  • The FINDB function is case-sensitive. It means that uppercase and lowercase letters are different. For example, “find” will not match “FIND”. If you want to ignore case, use the SEARCH function in google sheets.
  • The FINDB function does not support wildcard characters, so if you want to use wildcard characters to find string, you can use SEARCH function in google sheets.
  • You need to make sure that Find_text and within_text are not supplied in reverse order, or the #VALUE error will be returned.
  • You can use the FINDB function in combination with the IFERROR function to check for case when there are not matches within within_text.
  • You can use the FIND function for standard character sets, and FINDB function for double-byte character sets such as Chinese, Japanese and Korean.

Google Sheets FINDB Function Examples


The below example will show you how to use FINDB function to find the position of a sub string within text string.

#1 To get the position of sub string “” in cell B1, just using formula:


=FINDB(““,A1,1)

Google sheets findb function 1

When you look for the text “”” in the Cell B1, it will return 1, which is the position of the first character of find_text “”” within the Cell B1.

x
How to Unmerge Cells and Fill Down Values in Excel
 

Related Posts

Google Sheets PROPER Function
google sheets proper function1

This post will guide you how to use Google Sheets PROPER function with syntax and examples. Description The Google Sheets PROPER function capitalizes the first character in each word of a text string and set other characters to lowercase . ...

Google Sheets MIDB Function
google sheets midb function1

This post will guide you how to use Google Sheets MIDB function with syntax and examples. Description The Google Sheets MIDB function returns a substring (a specified number of bytes) starting from the middle of a text string and up ...

Google Sheets MID Function
google sheets mid function

This post will guide you how to use Google Sheets MID function with syntax and examples. Description The Google Sheets MID function returns a substring (a specified number of the characters) starting from the middle of a text string. The ...

Google Sheets LOWER Function
google sheets lower function1

This post will guide you how to use Google Sheets LOWER function with syntax and examples. Description The Google Sheets LOWER function converts all characters in a text string to lowercase. The LOWER function can be used to convert a ...

Google Sheets LENB Function
google sheets lenb function1

This post will guide you how to use Google Sheets LENB function with syntax and examples. Description The Google Sheets LENB function returns the length of a text string in bytes. The LENB function can be used to count the ...

Google Sheets LEN Function
Google sheets len function1

This post will guide you how to use Google Sheets LEN function with syntax and examples. Description The Google Sheets LEN function returns the length of a text string (the number of characters in a text string). The LEN function ...

Google Sheets LEFTB Function
google sheets leftb function

This post will guide you how to use Google Sheets LEFTB function with syntax and examples. Description The Google Sheets LEFTB function returns a substring (a specified number of the bytes) from a text string, starting from the left portion. ...

Google Sheets LEFT Function
google sheets left function

This post will guide you how to use Google Sheets LEFT function with syntax and examples. Description The Google Sheets LEFT function returns a substring (a specified number of the characters) from a text string, starting from the leftmost character. ...

Google Sheets JOIN Function
Google sheets join function

This post will guide you how to use Google Sheets JOIN function with syntax and examples. Description The Google Sheets JOIN function joins two or more text strings together and separated by a delimiter. you can select an entire range ...

Google Sheets FIXED Function
google sheets fixed function1

This post will guide you how to use Google Sheets FIXED function with syntax and examples. Description The Google Sheets FIXED function rounds a number to the specified number of decimal places and returns the result as text string and ...

Sidebar