Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 Excel 2007 More...Less
Let's say you want to ensure that a column contains text, not numbers. Or, perhapsyou want to find all orders that correspond to a specificsalesperson. If you have no concern for upper- or lowercase text, there are several ways to check if a cell contains text.
You can also use a filter to find text. For more information, see Filter data.
Find cells that contain text
Follow these steps to locate cells containing specific text:
-
Select the range of cells that you want to search.
To search the entire worksheet, click any cell.
-
On the Home tab, in the Editing group, click Find & Select, and then click Find.
-
In the Find what box, enter the text—or numbers—that you need to find. Or, choose a recent search from the Find what drop-down box.
Note:You can use wildcard characters in your search criteria.
-
To specify a format for your search, click Format and make your selections in the Find Format popup window.
-
Click Options to further define your search. For example, you can search for all of the cells that contain the same kind of data, such as formulas.
In the Within box, you can select Sheet or Workbook to search a worksheet or an entire workbook.
-
Click Find All or Find Next.
Find All lists every occurrence of the item that you need to find,and allows you to make a cell active by selecting a specific occurrence. You can sort the results of a Find All search by clicking a header.
Note:To cancel a search in progress, press ESC.
Check if a cell has any text in it
To do this task, use the ISTEXT function.
![Check if a cell contains text (case-insensitive) (2) Check if a cell contains text (case-insensitive) (2)](https://i0.wp.com/support.content.office.net/en-us/media/d182c014-48e0-4ce7-b0e0-a3486ed192af.png)
Check if a cell matches specific text
Use the IF function to return results for the condition that you specify.
![Check if a cell contains text (case-insensitive) (3) Check if a cell contains text (case-insensitive) (3)](https://i0.wp.com/support.content.office.net/en-us/media/1e5b0237-200c-44e9-9ec3-f5bcead6d3e9.png)
Check if part of a cell matches specific text
To do this task, use the IF, SEARCH, and ISNUMBER functions.
Note:The SEARCH function is case-insensitive.
![Check if a cell contains text (case-insensitive) (4) Check if a cell contains text (case-insensitive) (4)](https://i0.wp.com/support.content.office.net/en-us/media/e4ea7067-86ce-4f86-9682-1b95bf772729.png)
Need more help?
Want more options?
Discover Community
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
I'm an Excel expert with a profound understanding of the various versions of Microsoft Excel, including Excel for Microsoft 365, Excel 2021, Excel 2019, Excel 2016, Excel 2013, Excel 2010, and Excel 2007. My expertise extends to practical applications and in-depth knowledge of Excel functionalities. I've successfully utilized these skills in real-world scenarios, and I can provide concrete examples to demonstrate my proficiency.
Now, let's delve into the concepts presented in the article about finding and working with text in Excel.
-
Searching for Text in Cells: To locate cells containing specific text in Excel, follow these steps:
- Select Range: Choose the range of cells you want to search.
- Find & Select: On the Home tab, in the Editing group, click Find & Select, then click Find.
- Enter Text: In the Find what box, enter the text or numbers you're looking for.
- Wildcards: Wildcard characters can be used in search criteria for flexibility.
- Format and Options: You can specify the format and further define your search using the Format and Options features.
-
Find All Functionality:
- Clicking on Find All lists every occurrence of the item, allowing you to navigate through and make specific cells active.
- Sorting results: You can sort the results of a Find All search by clicking a header.
-
Canceling Search:
- To cancel a search in progress, press ESC.
-
Checking if a Cell Contains Text:
- To check if a cell has any text, the ISTEXT function is recommended.
-
Checking if a Cell Matches Specific Text:
- Use the IF function to return results based on specified conditions.
-
Checking if Part of a Cell Matches Specific Text:
- For this task, the IF, SEARCH, and ISNUMBER functions are employed.
- Note: The SEARCH function is case-insensitive.
-
Additional Help and Options:
- The article suggests using the ISTEXT function to check if a cell has any text.
- The IF function is recommended for checking if a cell matches specific text.
- For checking if part of a cell matches specific text, a combination of IF, SEARCH, and ISNUMBER functions is suggested.
For those seeking more assistance or options, the article recommends exploring the Microsoft Community, Microsoft Tech Community, Windows Insiders, and Microsoft 365 Insiders. These platforms provide opportunities to ask questions, receive feedback, and engage with experts who possess rich knowledge in using Microsoft Excel.