## Excel Formula: Check if a cell contains a specific text

Here the tutorial provides some formulas to check if a cell contains a specific text and return TRUE and FALSE as below screenshot shown, and explains the arguments and how the formulas works.

### Formula 1 Check if a cell contains a specific text (not case sensitive)

Generic formula:

 =ISNUMBER(SEARCH(substring,text))

Arguments

 Substring: the specific text you want to search in the cell. Text: the cell or text string you want to check if contains a specific text (the argument substring)

Return value:

This formula returns a logical value. If the cell contains the substring, the formula returns TRUE, or it returns FALSE.

How this formula work

Here you want to check if cell B3 contains the text in C3, use below formula

 =ISNUMBER(SEARCH(C3,B3))

Press Enter key to get the checking result.

Explanation

SEARCH function: the SEARCH function returns the position of first character of the find_text in the within_text, if it does not find the find_text, it will return #VALUE! error value. Here SEARCH(C3,B3) will find the position of text in cell C3 within cell B3, it returns 22.

ISNUMBER function: the ISNUMBER function will check if the value in cell is numeric value and return a logical value. Returning TRUE indicates the cell contains a numeric value, or return FALSE. Here ISNUMBER(SEARCH(C3,B3)) will check if the result of SEARCH function is a numeric value.

### Formula 2 Check if cell contains a specific text (case sensitive)

Generic formula:

 =ISNUMBER(FIND(substring,text))

Arguments

 Substring: the specific text you want to search in the cell. Text: the cell or text string you want to check if contains a specific text (the argument substring).

Return value:

This formula returns a logical value. If the cell contains the substring, the formula returns TRUE, or it returns FALSE.

How this formula work

Here you want to check if cell B4 contains the text in C4, use below formula

 =ISNUMBER(FIND(C4,B4))

Press Enter key to check.

Explanation

FIND function: the FIND function gets the location of the first character of the find_text in the within_text, if it does not find the find_text, it will return #VALUE! error value, and it is case sensitive. Here FIND(C4,B4) will find the position of text in cell C4 within cell B4, and it returns #VALUE! error value..

ISNUMBER function: the ISNUMBER function will check if the value in cell is a numeric value and return a logical value. Returning TRUE indicates the cell contains a numeric value, or return FALSE. Here ISNUMBER(FIND(C4,B4)) will check if the result of FIND function is numeric value.

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.