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
Find string in a cell/column with Excel formulas
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 below formula into it, and then drag the Fill Handle to the range as you need. See screenshot:
=ISNUMBER(SEARCH("KTE",A2))
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 below formula into it, and then drag the Fill Handle to the range as you need. See screenshot:
=FIND( "KTE",A2)
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.
Find and count string in a cell/column with formulas of Kutools for Excel
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 - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now
1. Select a blank cell you will return the counting result, and click the Kutools > Formula Helper > Formula Helper.
2. In the opening Formula Helper dialog box, please do as follows:
(1) Select Statistical from the Formula Type drop-down list;
(2) Click to select Count the number of a word in the Choose a formula list box;
(3) Specify the cell address where you will count occurrences of the specific string into the Text box;
(4) Type the specific string into the Word box.
3. Click the Ok button to apply this formula. Then drag the Fill Handle to the range as you need. See screenshot:
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
Find and count string in a column without formulas
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. Please do as follows:
Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now
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.
Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now
Best Office Productivity Tools
Supports Office/Excel 2007-2021 and 365 | Available in 44 Languages | Easy to Uninstall Completely
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need Is Just A Click Away...
Supercharge Your Excel Skills: Experience Efficiency Like Never Before with Kutools for Excel (Full-Featured 30-Day Free Trial)
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! (Full-Featured 30-Day Free Trial)
