Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to find string in a cell/column with formulas in Excel?

This article is talking about how to find a specific text string in a cell or column with formulas in Excel. There are two tricky ways to get it done easily.

Find string in a cell/column with Excel formulas

Find and count string in a cell/column with formulas of Kutools for Excel

Find and count string in a column without formulas

Select and count cells if contain certain text sting in Excel

Kutools for Excel’s Select SpecifiC Cells feature can help us to quickly select all cells which contain, begin with, end with, or equal to the certain text string in the specified range. Simultaneously, a dialog box will come out and show us how many cells have been selected. Full Feature Free Trial 30-day!

ad select count if contain values

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words...
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum...
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns...
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Create Mailing List and Send Emails by Cell's Value...
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.


This method will introduce two formulas to check/find if the specific string existing or nor in a cell, and return the string’s position.

Check and find if containing the specific string with formula

Select a blank cell you will return the checking result, and enter the formula =ISNUMBER(SEARCH("KTE",A2)) into it, and then drag the Fill Handle to the range as you need. See screenshot:

Notes:

(1) In above formula, KTE is the specific string you will check, and A2 is the cell you will check if containing the specific string. You can change both based on your needs.

(2) The above formula will return TRUE or FALSE. TRUE means the cell contains the specific string, while FALSE means the cell doesn’t contain the specific string.

(3) This formula is not case-sensitive.

Find certain string and return its position with formula

Select a blank cell you will return the specific string’s position, and enter the formula =FIND( "KTE",A2) into it, and then drag the Fill Handle to the range as you need. See screenshot:

Notes:

(1) In above formula, KTE is the specific string you will check, and A2 is the cell where you will find the specified string’s position. You can change both based on your needs.

(2) If you want to find the specific string from nth character in a cell, says the 10th character, you can adjust the formula as =FIND( "KTE",A2, 10).

(3) Both formulas =FIND( "KTE",A2) and =FIND( "KTE",A2, 10) are case-sensitive.


Kutools for Excel’s Count times a word appears formula can not only check if a string exists in a cell or not, but also count the occurrences of this string.

1. Select a blank cell you will return the counting result, and click the Kutools > Formulas > Count times a word appears. See screenshot:

2. In the opening Formula Helper dialog box, please specify the cell address where you will count occurrences of the specific string into the Text box, and type the specific string into the Word box. See screenshot:

Note: If you type the specific string into the Word box directly, please remember to enclose the string with quotes.

doc find strings 4

3. Click the Ok button to apply this formula. Then drag the Fill Handle to the range as you need. See screenshot:

doc find strings 5

Notes:

1. If you get the result “0”, it means the selected cell doesn’t contain the specific string.

2. This Count times a word appears formula is case-sensitive.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


If you have Kutools for Excel installed, you can apply its Select Specific Cells feature to quickly look for a certain value from a range, and count the occurrences if it exists in Excel. Pease do as follows:

1. Select the column you will find in, and click Kutools > Select > Select Specific Cells. See screenshot below:

2. In the opening Select Specific Cells dialog box, please check the Cell option, select Contains from the first drop down list in the Specific type section, and type the certain value you will find into following box. See screenshot above:

3. Click the Ok button.

And now cells containing the certain value are selected at once, and simultaneously a dialog box will come out and show how many cells are selected. See screenshot below:

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


In this Video, Kutools and Kutools Plus tabs are added by Kutools for Excel. If need it, please click for 30-day free trial without limitation!

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.