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 60-day!

ad select count if contain values



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.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

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 Excel tools. Full feature free trial 60-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:

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

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 Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!



Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

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.