How to Use the FIND, FINDBs Function in Excel

Today, we’re going to delve into the essential Excel and Google Sheets functions: FIND and FINDB. These functions are invaluable for identifying the location of a specific substring within a larger text string. We will cover their syntax, practical applications, and provide sample implementations.

The Syntax

Grasping the syntax of FIND and FINDB is crucial for their effective application in your spreadsheets.

  • FIND: =FIND(find_text, within_text, [start_num])
  • FINDB: =FINDB(find_text, within_text, [start_num])

find_text: The substring that you are looking to find.

within_text: The text string within which the search for ‘find_text’ will occur.

start_num (optional): Specifies the character position from which the search begins. If this parameter is omitted, the search starts at the first character.

Use Cases

FIND and FINDB are typically used in scenarios where pinpointing specific information within a text cell is necessary. Below are some common applications for these functions:

  • Identifying the position of a character in a text string.
  • Extracting the domain from a URL.
  • Locating a specific word within a text string.

Examples

We will now look at a few examples to demonstrate how the FIND and FINDB functions operate in Excel and Google Sheets.

Example 1: Finding the Position of a Character

For instance, imagine the text “Hello, World!” is in cell A1, and you need to determine where the comma ‘,’ is located.

A B
Hello, World! =FIND(“,”, A1)

In this instance, the FIND function will return 6, as the comma is positioned at the 6th character of the string.

Example 2: Extracting the Domain from a URL

If you possess a list of URLs in column A and aim to extract the domain name from each, employing the FIND function with others like MID or LEFT can be particularly effective.

A B
https://www.example.com =MID(A1, FIND(“://”, A1) + 3, FIND(“/”, A1, FIND(“://”, A1) + 3) – FIND(“://”, A1) – 3)

This formula isolates “www.example.com” from the URL “https://www.example.com”.

By mastering FIND and FINDB functions, you can significantly advance your data manipulation and extraction skills in both Excel and Google Sheets.

More information: https://support.microsoft.com/en-us/office/find-findb-functions-c7912941-af2a-4bdf-a553-d0d89b0a0628

Other functions
Returns an array of text values from any specified range
Vrátí matici textových hodnot z libovolné zadané oblasti
Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters
Změní znaky s plnou šířkou (dvoubajtové) v řetězci znaků na znaky s poloviční šířkou (jednobajtové)
Converts a number to text, using the ß (baht) currency format
Převede číslo na text ve formátu měny ß (baht)
Vrátí určitý počet znaků textového řetězce počínaje zadaným místem
Returns the character specified by the code number
Removes all nonprintable characters from text
Returns a numeric code for the first character in a text string
Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments
Spojí texty z několika oblastí nebo řetězců Nenabízí ale argumenty Oddělovač a Ignorovat_prázdné
Joins several text items into one text item
Spojí několik textových položek do jedné
Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters
Změní znaky s poloviční šířkou (jednobajtové) v řetězci znaků na znaky s plnou šířkou (dvoubajtové)
Converts a number to text, using the $ (dollar) currency format
V textovém řetězci nahradí starý text novým
Checks to see if two text values are identical
Formats a number as text with a fixed number of decimals
Najde textovou hodnotu uvnitř jiné (a nerozlišují se malá a velká písmena)
Převede textový argument na číslo
Zformátuje číslo a převede ho na text
Changes half-width (single-byte) characters within a string to full-width (double-byte) characters
Změní znaky s poloviční šířkou (jednobajtové) v řetězci na znaky s plnou šířkou (dvoubajtové)
Převede číslo na text ve formátu měny Kč (česká koruna)
Vrátí číselný kód prvního znaku zadaného textového řetězce
Returns the leftmost characters from a text value
Returns the number of characters in a text string
Converts text to lowercase
Převede text na malá písmena
Returns a specific number of characters from a text string starting at the position you specify
Nahradí znaky uvnitř textu
Najde textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena)
Converts text to number in a locale-independent manner
Převede text na číslo způsobem nezávislým na národním prostředí
Zopakuje text podle zadaného počtu opakování
Extracts the phonetic (furigana) characters from a text string
Odstraní z textu mezery
Capitalizes the first letter in each word of a text value
Replaces characters within text
Repeats text a given number of times
Returns the rightmost characters from a text value
Finds one text value within another (not case-sensitive)
Zkontroluje, jestli jsou dvě textové hodnoty shodné
Substitutes new text for old text in a text string
Converts its arguments to text
Převede argumenty na text
Formats a number and converts it to text
Combines the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will be combined If the delimiter is an empty text string, this function will effectively concatenate the ranges
Zkombinuje text z více oblastí a/nebo řetězců a zahrnuje oddělovač, který zadáte mezi každou textovou hodnotu, která se bude spojovat Pokud je oddělovač prázdný textový řetězec, pak tato funkce jednotlivé oblasti přímo zřetězí
Removes spaces from text
Returns the Unicode character that is references by the given numeric value
Vrátí znak unicode, na který odkazuje daná číselná hodnota
Returns the number (code point) that corresponds to the first character of the text
Vrátí číslo (bod kódu), které odpovídá prvnímu znaku textu
Converts text to uppercase
Converts a text argument to a number
Returns text from any specified value
Vrátí text ze zadané hodnoty
Převede text na velká písmena
Převede první písmeno každého slova textové hodnoty na velké
Odebere z textu všechny netisknutelné znaky
Zformátuje číslo jako text s pevným počtem desetinných míst
Vrátí znak určený číslem kódu
Vrátí první znaky textové hodnoty umístěné nejvíce vpravo
Extrahuje fonetické znaky (furigana) z textového řetězce