Skip to main content

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

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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with 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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with 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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with 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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now

Best Office Productivity Tools

Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create 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 Ranges & Columns ...
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 Toolsets12 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 Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations